Skip to content

Commit

Permalink
removed unessasery prints and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadQadora committed Oct 1, 2024
1 parent 967a61b commit 22f1a13
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 18 deletions.
6 changes: 1 addition & 5 deletions omnistrate_tests/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
from random import randbytes
from pathlib import Path
import threading
from redis.exceptions import (
ConnectionError,
TimeoutError,
ReadOnlyError
)



file = Path(__file__).resolve()
Expand Down
5 changes: 0 additions & 5 deletions omnistrate_tests/test_cluster_replicas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
from random import randbytes
from pathlib import Path
import threading
from redis.exceptions import (
ConnectionError,
TimeoutError,
ReadOnlyError
)

file = Path(__file__).resolve()
parent, root = file.parent, file.parents[1]
Expand Down
5 changes: 0 additions & 5 deletions omnistrate_tests/test_cluster_shards.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
from random import randbytes
from pathlib import Path
import threading
from redis.exceptions import (
ConnectionError,
TimeoutError,
ReadOnlyError
)

file = Path(__file__).resolve()
parent, root = file.parent, file.parents[1]
Expand Down
2 changes: 0 additions & 2 deletions omnistrate_tests/test_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,11 @@ def test_stop_start(instance: OmnistrateFleetInstance, password: str):

instance.start(wait_for_ready=True)

print("sleeping to see if it is a latency issue..")
time.sleep(120)
graph = db.select_graph("test")

result = graph.query("MATCH (n:Person) RETURN n")

print("PASSED QUERY")
if len(result.result_set) == 0:
raise Exception("Data lost after stop/start")

Expand Down
2 changes: 1 addition & 1 deletion omnistrate_tests/test_replication_replicas.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def add_data(instance: OmnistrateFleetInstance):


def check_data(instance: OmnistrateFleetInstance):
print('Retrieving data ....')
logging.info('Retrieving data ....')
# Get instance host and port
db = instance.create_connection(
ssl=args.tls,
Expand Down

0 comments on commit 22f1a13

Please sign in to comment.