Enable market in shard_sync_test.

This commit is contained in:
Peilun Li 2024-07-30 12:47:05 +08:00
parent 827d31cacb
commit 41ba320bcc
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class PrunerTest(TestFramework):
segment = submit_data(client, chunk_data)
self.log.info("segment: %s", len(segment))
# Wait for 1 sec for the shard config to be updated
time.sleep(1)
time.sleep(2)
shard_config = client.rpc.zgs_getShardConfig()
shard_id = int(shard_config["shardId"])
num_shard = int(shard_config["numShard"])

View File

@ -23,6 +23,7 @@ class PrunerTest(TestFramework):
"db_max_num_sectors": 2 ** 30,
"shard_position": "1/4"
}
self.enable_market = True
def run_test(self):
client = self.nodes[0]