Skip to content

Commit

Permalink
add 1 second delay after query execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Selfeer committed Apr 10, 2024
1 parent 5ab54fe commit c6c8d7e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,8 @@ def query(
) if steps else NullStep():
try:
r = self.cluster.bash(None)(command, *args, **kwargs)
time.sleep(1)
note("I waited 1 second after the query execution")
except ExpectTimeoutError:
self.cluster.close_bash(None)
raise
Expand All @@ -823,6 +825,8 @@ def query(
) if steps else NullStep():
try:
r = self.cluster.bash(self.name)(command, *args, **kwargs)
time.sleep(1)
note("I waited 1 second after the query execution")
except ExpectTimeoutError:
self.cluster.close_bash(self.name)
raise
Expand Down

0 comments on commit c6c8d7e

Please sign in to comment.