You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run MessageHistoryTest#checkHistoryMaxSizeException on Mac from the shell, like this:
mvn clean compile test -Dtest=net.openhft.chronicle.wire.MessageHistoryTest#checkHistoryMaxSizeException -f pom.xml
It produces this error only when run with useBytesMarshallable(true);
[main] INFO net.openhft.chronicle.core.Jvm - Chronicle core loaded from file:/Users/robaustin/.m2/repository/net/openhft/chronicle-core/2.25ea14/chronicle-core-2.25ea14.jar
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.105 s <<< FAILURE! -- in net.openhft.chronicle.wire.MessageHistoryTest
[ERROR] net.openhft.chronicle.wire.MessageHistoryTest.checkHistoryMaxSizeException -- Time elapsed: 0.098 s <<< FAILURE!
java.lang.AssertionError: timings=2
at org.junit.Assert.fail(Assert.java:89)
at net.openhft.chronicle.wire.MessageHistoryTest.checkHistoryMaxSizeException(MessageHistoryTest.java:86)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] MessageHistoryTest.checkHistoryMaxSizeException:86 timings=2
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.479 s
[INFO] Finished at: 2024-04-19T09:08:57+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project chronicle-wire: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/robaustin/projects/Chronicle-Wire/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
NOTE: it works when the useBytesMarshallable(false) and it always works within the IDE, just fails when run from mvn with and useBytesMarshallable(true) in a mvn test
The text was updated successfully, but these errors were encountered:
RobAustin
changed the title
net.openhft.chronicle.wire.MessageHistoryTest to run with history.as.bytes=true on mac
Fix MessageHistoryTest to run with history.as.bytes=true on mac
Apr 19, 2024
If you run MessageHistoryTest#checkHistoryMaxSizeException on Mac from the shell, like this:
It produces this error only when run with useBytesMarshallable(true);
NOTE: it works when the useBytesMarshallable(false) and it always works within the IDE, just fails when run from mvn with and useBytesMarshallable(true) in a mvn test
The text was updated successfully, but these errors were encountered: