Skip to content

Commit 22fd64c

Browse files
committed
Address minor feedback
1 parent 30bb84b commit 22fd64c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/ducktape/run_ducktape_test.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@
66
import os
77
import subprocess
88
import tempfile
9+
import time
910

10-
try:
11-
import ducktape
12-
except ImportError as e:
13-
print("ERROR: ducktape is not installed or not importable.")
14-
print(f"Import error: {e}")
15-
print("Install it with: pip install ducktape")
16-
sys.exit(1)
11+
import ducktape
1712

1813

1914
def create_cluster_config():
@@ -27,7 +22,6 @@ def create_cluster_config():
2722

2823
def create_test_config():
2924
"""Create test configuration file"""
30-
import time
3125
timestamp = int(time.time())
3226
config = {
3327
"ducktape_dir": os.path.dirname(os.path.abspath(__file__)),

0 commit comments

Comments
 (0)