Skip to content

Commit

Permalink
Fix create engine test (#67)
Browse files Browse the repository at this point in the history
* multiple runs

* potential fix
  • Loading branch information
NRHelmi authored Apr 11, 2023
1 parent 8c9d4f2 commit 1787e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RelationalAI.Test/TestConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public async Task<Engine> CreateEngineWaitAsync(Client client)
{
try
{
await semaphoreSlim.WaitAsync();
if (_engine == null)
{
await semaphoreSlim.WaitAsync();
_engine = await client.CreateEngineWaitAsync(engineName);
}
}
Expand Down

0 comments on commit 1787e81

Please sign in to comment.