projectodd / stilts

Stomp Integration Layer and Transaction Server
http://stilts.projectodd.org/
Apache License 2.0
38 stars 30 forks source link

Build of the last git fail #7

Open Solido opened 12 years ago

Solido commented 12 years ago

using the command mvn -s ./support/settings.xml install


T E S T S

Running org.projectodd.stilts.stomp.protocol.websockets.WebSocketDisconnectionNe gotiatorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec Running org.projectodd.stilts.stomp.protocol.StompMessageEncoderTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec Running org.projectodd.stilts.stomp.protocol.StompFrameEncoderTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec Running org.projectodd.stilts.stomp.protocol.StompMessageDecoderTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec Running org.projectodd.stilts.stomp.client.protocol.websockets.WebSocketChalleng eTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.948 sec Running org.projectodd.stilts.stomp.protocol.StompFrameDecoderTest Tests run: 3, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.03 sec <<< FAI LURE!

Results :

Failed tests: testDecodeConnect(org.projectodd.stilts.stomp.protocol.StompFrameDecoderTest) testDecodeNullTerminatedMessage(org.projectodd.stilts.stomp.protocol.StompFram eDecoderTest)

Tests in error: testDecodeIncomplete(org.projectodd.stilts.stomp.protocol.StompFrameDecoderTes t)

Tests run: 14, Failures: 2, Errors: 1, Skipped: 0

dobozysaurus commented 12 years ago

I pulled latest, and this test (and all the others) are working for me. Mind trying it with mvn clean install?

Solido commented 12 years ago

It's my first install after the git command, all the files compiles but the above tests failed. Even the clean install produce the same result. Windows 7 java version "1.7.0_01" Java(TM) SE Runtime Environment (build 1.7.0_01-b08) Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing) French Local

Solido commented 12 years ago

The call StompFrame frame = this.decoder.poll(); in suspected tests return null. "valid-connect.msg" and other message are fully loaded by the read method.

GregDThomas commented 10 years ago

This seems to be an issue with git munging the line-endings on Windows in one of the files (if you're running on Windows).

If you've not modified anything, try ...

git config core.autocrlf input
git rm --cached -r .
git reset --hard

to stop git changing the line-endings and breaking the test.