Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Oct 24, 2024
1 parent fb936f5 commit 7b7a2fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion testbench/rest_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,6 @@ def object_insert(bucket_name):
if stall_time and len(blob.media) >= after_bytes:
if test_id:
db.dequeue_next_instruction(test_id, "storage.objects.insert")
print("stall time", stall_time)
time.sleep(stall_time)

db.insert_object(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_testbench_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def test_retry_test_return_error_after_bytes(self):
self.assertIn("size", create_rest)
self.assertEqual(int(create_rest.get("size")), 2 * UPLOAD_QUANTUM)

def test_write_retry_test_stall_single_shot(self):
def test_write_retry_test_stall_after_bytes(self):
# Create a new bucket
response = self.client.post(
"/storage/v1/b", data=json.dumps({"name": "bucket-name"})
Expand Down

0 comments on commit 7b7a2fe

Please sign in to comment.