ShardExternallyReparented uses a critical read when rebuilding the shard graph.
Use a separate variable for logs in tests.