diff --git a/test/probe/test_container_failures.py b/test/probe/test_container_failures.py index fe0feeed4d..7c2ba673ce 100755 --- a/test/probe/test_container_failures.py +++ b/test/probe/test_container_failures.py @@ -25,7 +25,8 @@ from sqlite3 import connect from swiftclient import client from swift.common import direct_client -from swift.common.utils import hash_path, readconf +from swift.common.ondisk import hash_path +from swift.common.utils import readconf from test.probe.common import get_to_final_state, kill_nonprimary_server, \ kill_server, kill_servers, reset_environment, start_server diff --git a/test/probe/test_object_failures.py b/test/probe/test_object_failures.py index e7f6bf5bf1..b46dd330bb 100755 --- a/test/probe/test_object_failures.py +++ b/test/probe/test_object_failures.py @@ -22,7 +22,8 @@ from uuid import uuid4 from swiftclient import client from swift.common import direct_client -from swift.common.utils import hash_path, readconf +from swift.common.ondisk import hash_path +from swift.common.utils import readconf from swift.obj.diskfile import write_metadata, read_metadata from test.probe.common import kill_servers, reset_environment