Skip to content

Commit c683098

Browse files
authored
fix(test): fix test config (risingwavelabs#8586)
1 parent bcb324b commit c683098

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/config/ci-meta-backup-test.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
min_sst_retention_time_sec = 0
33
collect_gc_watermark_spin_interval_sec = 1
44
vacuum_interval_sec = 10
5-
6-
[backup]
7-
storage_url = "minio://hummockadmin:[email protected]:9301/hummock001"
8-
storage_directory = "backup"

src/storage/backup/integration_tests/common.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ function clean_etcd_data() {
1919

2020
function start_cluster() {
2121
cargo make d ci-meta-backup-test 1>/dev/null 2>&1
22-
}
23-
24-
function wait_cluster_ready() {
25-
# TODO #6482: wait cluster to finish actor migration and other recovery stuff deterministically.
22+
execute_sql_and_expect \
23+
"alter system set backup_storage_url to \"minio://hummockadmin:[email protected]:9301/hummock001\";" \
24+
"ALTER_SYSTEM"
2625
sleep 5
2726
}
2827

src/storage/backup/integration_tests/test_basic.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ if ! psql -h localhost -p 4566 -d dev -U root -c "show materialized views;" | gr
4343
exit 1
4444
fi
4545
echo "restore snapshot ${job_id_2} succeeded"
46-
wait_cluster_ready
4746
query_mvs
4847
# any other ops in the restored cluster
4948
drop_mvs

0 commit comments

Comments
 (0)