We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0b637 commit c1382fdCopy full SHA for c1382fd
tests/benchmarks/test_relationship_loading.py
@@ -104,7 +104,7 @@ async def parents(info: Info) -> List[StrawberryParent]:
104
mocker.patch.object(orm.Session, "_execute_internal", autospec=True)
105
106
def sleep_then_execute(self, *args, **kwargs):
107
- time.sleep(0.01)
+ time.sleep(0.1)
108
return old_execute_internal(self, *args, **kwargs)
109
110
orm.Session._execute_internal.side_effect = sleep_then_execute
@@ -174,7 +174,7 @@ async def parents(info: Info) -> List[StrawberryParent]:
174
mocker.patch.object(AsyncSession, "scalars", autospec=True)
175
176
async def sleep_then_scalars(self, *args, **kwargs):
177
- await asyncio.sleep(0.01)
+ await asyncio.sleep(0.1)
178
return await old_scalars(self, *args, **kwargs)
179
180
mock = AsyncMock()
0 commit comments