Loading tests/integration/syscalls/test_malleability.py +2 −7 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ def test_malleability(gkfwd_daemon_factory, gkfs_client, gkfs_shell): # loop 10 times, and create a file in each iteration for i in range(3): for i in range(2): file = d00.mountdir / f"file{i}" # create a file in gekkofs ret = gkfs_client.open(file, Loading @@ -75,12 +75,7 @@ def test_malleability(gkfwd_daemon_factory, gkfs_client, gkfs_shell): assert cmd.stdout.decode() == "Expansion process from 2 nodes to 3 nodes launched...\n" assert cmd.exit_code == 0 time.sleep(10) while True: cmd = gkfs_shell.gkfs_malleability('expand','status') if cmd.exit_code == 0: break time.sleep(2) time.sleep(20) cmd = gkfs_shell.gkfs_malleability('expand','finalize') assert cmd.stdout.decode() == "Expand finalize 0\n" Loading Loading
tests/integration/syscalls/test_malleability.py +2 −7 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ def test_malleability(gkfwd_daemon_factory, gkfs_client, gkfs_shell): # loop 10 times, and create a file in each iteration for i in range(3): for i in range(2): file = d00.mountdir / f"file{i}" # create a file in gekkofs ret = gkfs_client.open(file, Loading @@ -75,12 +75,7 @@ def test_malleability(gkfwd_daemon_factory, gkfs_client, gkfs_shell): assert cmd.stdout.decode() == "Expansion process from 2 nodes to 3 nodes launched...\n" assert cmd.exit_code == 0 time.sleep(10) while True: cmd = gkfs_shell.gkfs_malleability('expand','status') if cmd.exit_code == 0: break time.sleep(2) time.sleep(20) cmd = gkfs_shell.gkfs_malleability('expand','finalize') assert cmd.stdout.decode() == "Expand finalize 0\n" Loading