mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-24 23:35:18 +00:00
Enable market in shard_sync_test.
This commit is contained in:
parent
827d31cacb
commit
41ba320bcc
@ -38,7 +38,7 @@ class PrunerTest(TestFramework):
|
|||||||
segment = submit_data(client, chunk_data)
|
segment = submit_data(client, chunk_data)
|
||||||
self.log.info("segment: %s", len(segment))
|
self.log.info("segment: %s", len(segment))
|
||||||
# Wait for 1 sec for the shard config to be updated
|
# Wait for 1 sec for the shard config to be updated
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
shard_config = client.rpc.zgs_getShardConfig()
|
shard_config = client.rpc.zgs_getShardConfig()
|
||||||
shard_id = int(shard_config["shardId"])
|
shard_id = int(shard_config["shardId"])
|
||||||
num_shard = int(shard_config["numShard"])
|
num_shard = int(shard_config["numShard"])
|
||||||
|
@ -23,6 +23,7 @@ class PrunerTest(TestFramework):
|
|||||||
"db_max_num_sectors": 2 ** 30,
|
"db_max_num_sectors": 2 ** 30,
|
||||||
"shard_position": "1/4"
|
"shard_position": "1/4"
|
||||||
}
|
}
|
||||||
|
self.enable_market = True
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
client = self.nodes[0]
|
client = self.nodes[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user