nixosTests.hadoop.hbase: fix race condition

This commit is contained in:
illustris 2025-03-16 20:57:10 +05:30
parent 99384545e6
commit 6709f7cea3
No known key found for this signature in database
GPG key ID: 56C8FC0B899FEFA3

View file

@ -116,6 +116,9 @@ import ../make-test-python.nix (
zookeeper.wait_for_unit("zookeeper")
zookeeper.wait_for_open_port(2181)
# wait for HDFS cluster to be RW
datanode.succeed("sudo -u hdfs hdfs dfsadmin -safemode wait")
# wait for HBase to start up
master.wait_for_unit("hbase-master")
regionserver.wait_for_unit("hbase-regionserver")