On 2018-04-03 12:54, Alex Peshkoff via Firebird-devel wrote:
On 03/29/18 18:45, Mark Rotteveel wrote:
On 29-3-2018 13:19, Alex Peshkoff via Firebird-devel wrote:
On 03/27/18 20:08, Mark Rotteveel wrote:
I increased the TcpRemoteBufferSize to 32767 (the documented maximum
value) in my firebird.conf, and when I run the full test suite of
Jaybird
Is it that set of tests which is started in the end of
$JAYBIRD/build.sh execution?
I have found a combination of tests that will trigger it in a
relatively short amount of time. In src/test/org/firebirdsql/jdbc/
create a class TestReproHang with the following content:
..................................
build.sh one-test-pure-java -Dtest=ReproHang
I've executed it 100 times. Each time in the end I get:
one-test-pure-java:
[junit] Running org.firebirdsql.jdbc.TestReproHang
[junit] Tests run: 46, Failures: 0, Errors: 131, Skipped: 0, Time
elapsed: 7.453 sec
[junit] Test org.firebirdsql.jdbc.TestReproHang FAILED
but no hangs.
The fact 131 tests produced errors means that most tests didn't run
correctly, which likely lead to not triggering the problem. Could you
send me a zipped copy of the `output/reports` folder so I can check what
went wrong?
The problem only occurs with Java 8 or higher,
# java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
although this might again be a difference in order, because I recall
something changed between Java 7 and 8 in the order of things returned
by certain reflection methods. If you previously built with Java 7,
make sure to clean first using build.sh clean.
I've made fresh clone or repository,
Also, I'm using Windows, so that might also be a factor.
Here I can't help something.
If this is OS-specific problem - sorry.
I'll see if I can reproduce it from Linux as well.
Mark
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel