Skip to content
Merged
6 changes: 2 additions & 4 deletions dotnet/test/DotNetCoreUnitTest/Submit/SubmitTest.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Threading;
using GeneXus.Application;
using GeneXus.Procedure;
using GeneXus.Utils;
using Lucene.Net.Support;
using Xunit;
using System.Collections.Concurrent;


namespace UnitTesting
{
Expand Down Expand Up @@ -43,6 +40,7 @@ void executePrivate()
proc.executeSubmit();
}
cleanup();
ThreadUtil.WaitForEnd();//Force WaitForEnd since tests run in web context when running in parallel with Middleware tests
Assert.Equal(THREAD_NUMBER, SubmitTest.numbers.Count);
}
public override void cleanup()
Expand Down