Skip to content

Commit 7c8fa8a

Browse files
committed
Replace logging.fatal with logging.error
1 parent 980bd64 commit 7c8fa8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cluster/sandbox/initial_reparent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initial_reparent(keyspace, master_cell, num_shards, namespace, timeout_s):
2727
logging.info('Finding tablets to reparent to.')
2828
while len(master_tablets) < num_shards:
2929
if time.time() - start_time > timeout_s:
30-
logging.fatal('Timed out waiting to find a replica tablet')
30+
logging.error('Timed out waiting to find a replica tablet')
3131
return 1
3232
for shard_name in sharding_utils.get_shard_names(num_shards):
3333
if shard_name in master_tablets:
@@ -61,7 +61,7 @@ def initial_reparent(keyspace, master_cell, num_shards, namespace, timeout_s):
6161
if len(successfully_reparented) == num_shards:
6262
logging.info('Done with initial reparent.')
6363
return 0
64-
logging.fatal('Timed out waiting for initial reparent.')
64+
logging.error('Timed out waiting for initial reparent.')
6565
return 1
6666

6767

0 commit comments

Comments
 (0)