-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ci): switch all tests to sql backend (#18099)
- Loading branch information
1 parent
a348b8a
commit f299941
Showing
10 changed files
with
131 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ set -euo pipefail | |
export RW_PREFIX=$PWD/.risingwave | ||
export PREFIX_BIN=$RW_PREFIX/bin | ||
export PREFIX_LOG=$RW_PREFIX/log | ||
export PREFIX_DATA=$RW_PREFIX/data | ||
export RW_SQLITE_DB=$PREFIX_DATA/metadata.db | ||
|
||
# NOTE(kwannoel): Compared to start_standalone below, we omitted the compactor-opts, | ||
# so it should not start. | ||
|
@@ -16,8 +18,8 @@ start_standalone_without_compactor() { | |
--advertise-addr 127.0.0.1:5690 \ | ||
--dashboard-host 127.0.0.1:5691 \ | ||
--prometheus-host 127.0.0.1:1250 \ | ||
--backend etcd \ | ||
--etcd-endpoints 127.0.0.1:2388 \ | ||
--backend sqlite \ | ||
--sql-endpoint sqlite://${RW_SQLITE_DB} \ | ||
--state-store hummock+minio://hummockadmin:[email protected]:9301/hummock001 \ | ||
--data-directory hummock_001" \ | ||
--compute-opts=" \ | ||
|
@@ -39,7 +41,6 @@ start_standalone_without_compactor() { | |
|
||
# You can fill up this section by consulting | ||
# .risingwave/log/risedev.log, after calling `risedev d full`. | ||
# It is expected that minio, etcd will be started after this is called. | ||
start_standalone() { | ||
RUST_BACKTRACE=1 \ | ||
"$PREFIX_BIN"/risingwave/standalone \ | ||
|
@@ -48,8 +49,8 @@ start_standalone() { | |
--advertise-addr 127.0.0.1:5690 \ | ||
--dashboard-host 127.0.0.1:5691 \ | ||
--prometheus-host 127.0.0.1:1250 \ | ||
--backend etcd \ | ||
--etcd-endpoints 127.0.0.1:2388 \ | ||
--backend sqlite \ | ||
--sql-endpoint sqlite://${RW_SQLITE_DB} \ | ||
--state-store hummock+minio://hummockadmin:[email protected]:9301/hummock001 \ | ||
--data-directory hummock_001" \ | ||
--compute-opts=" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.