afs commented on PR #2329: URL: https://github.com/apache/jena/pull/2329#issuecomment-1997302917
> The test suite is less vulnerable After running GH Windows actions repeatedly across the day and also running in batches of 3-5 at the same time, the test suite is less vulnerable but not perfect. So it will be good to get this PR into the codebase and then there is more work to be done. Usually, it is an auth test that fails, not always the same auth test. In an auth related test there are two HTTP requests - the first attempt results in a 401 and the second with the authentication credentials. But it is not exclusively auth tests failing. With groups of tests running at the same time, other tests fail sometimes (I'm guessing that a group of tests do share some underlying hardware). The common factor is creating a Fuseki Server in a Junit `@BeforeClass` and stopping it in `@AfterClass`. From previous Jena test stability experience, Windows behaves different to Linux in the timing of old ports being collected by the OS kernel and in the way that thread scheduling can cause longer pauses of a thread. That on its own isn't a deep explanation. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
