Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build of the last git fail #7

Open
Solido opened this issue Feb 4, 2012 · 4 comments
Open

Build of the last git fail #7

Solido opened this issue Feb 4, 2012 · 4 comments

Comments

@Solido
Copy link

Solido commented Feb 4, 2012

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
Copy link
Contributor

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

@Solido
Copy link
Author

Solido commented Feb 4, 2012

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
Copy link
Author

Solido commented Feb 4, 2012

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants