joerg1985
joerg1985
@bhecquet starting more sessions than slots is pervented later in this lines: https://github.com/SeleniumHQ/selenium/blob/b7d831db8cfeac9dfbf441c623c6d4bf580f2cc5/java/src/org/openqa/selenium/grid/distributor/local/LocalDistributor.java#L550-L565
@bhecquet my answer should say: rejecting these more new session requests than slots will happens pretty fast and should not add to much overhead in processing.
I had a look at the code and did [find an field read with missing synchronize statement](https://github.com/SeleniumHQ/selenium/blob/0b29138fa77b3c395e110928bfb672cb018258f6/java/src/org/openqa/selenium/grid/sessionqueue/local/LocalNewSessionQueue.java#L219), will fix this the next days. But i don't think this is the...
The other one is per test, this one is about more dynamic locks.
@mxschmitt sure, here are our current and future use-cases as far i can tell for now. 1. We need to increment numbers, earch number can only be used once. a)...
I think i need to explain where the concurrency is comming from, this is done to reduce the testing time with different browsers. fullyParallel is false, workers is 3 and...
@anunay1 yes, i am using the selenium java client
It might be better to use VirtualThreads as soon as java 21 is the minimum version, this would make things easier. Less code and ThreadLocals would still work without special...
@kaikreuzer okay, so i will push this further. Do you think it does make sense to have this `Rule.isThreadBound` logic or is this over engineered? The jruby rule support requesting...
@rkoshak thanks for the feedback on this. The PR will not allow a rule to block the others by consuming all the threads or run concurrently. The 'it' question was...