paulirwin commented on issue #846:
URL: https://github.com/apache/lucenenet/issues/846#issuecomment-2564174408

   While investigating this, I needed to repeat these tests but with a new 
test/seed each time, and they use static values with OneTimeSetUp so I needed 
to repeat the entire `dotnet test` run. (Aside: I also temporarily, locally 
made these not-OneTime/static for adding a Repeat attribute as well, but still 
use the script below.) I whipped up this little Powershell script to re-run a 
specific test, without running build, over and over again until it fails. Hope 
this helps someone (or future me):
   
   ```powershell
   do { 
       dotnet test 
./src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj -c 
Release --filter 
"FullyQualifiedName=Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestInclusiveNumericRange"
 --no-build 
   } until (!$?)
   ```
   
   Make sure to remove any fixed seed/culture in your test settings first 
(unless you're trying to track down a concurrency bug).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to