We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3fcc5 commit 9cd3ed3Copy full SHA for 9cd3ed3
1 file changed
tests/test_python_dynamodb_lock.py
@@ -104,7 +104,7 @@ def test_send_heartbeat_in_danger(self):
104
self.ddb_table.update_item.side_effect = RuntimeError('TestError')
105
self.lock_client.acquire_lock('key', app_callback=self.app_callback)
106
time.sleep(600/1000)
107
- self.assertEqual(len(self.app_callbacks), 1)
+ self.assertTrue(len(self.app_callbacks) >= 1)
108
(code, lock) = self.app_callbacks.pop(0)
109
self.assertEqual(code, DynamoDBLockError.LOCK_IN_DANGER)
110
0 commit comments