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

Add test for getStreams with multiple chunks #11

Closed
sverhoeven opened this issue Jun 12, 2017 · 4 comments
Closed

Add test for getStreams with multiple chunks #11

sverhoeven opened this issue Jun 12, 2017 · 4 comments

Comments

@sverhoeven
Copy link
Member

Use multiple messages to cat interactive job and fetch responses after each request.

@sverhoeven
Copy link
Member Author

See f2da2e1

@sverhoeven
Copy link
Member Author

Added test in https://github.com/NLeSC/xenon-grpc/blob/get-streams-cat-test/src/test/java/nl/esciencecenter/xenon/grpc/jobs/LocalJobsStreamsTest.java, but if fails to recieve the first message from the server (at line #122).

The test is modeled after the example of grpc java

Even if the timeout is increased the StreamForwarder threads don't write.

@atzeus
Copy link
Contributor

atzeus commented Jun 22, 2017

Fixed by d015ffa

@sverhoeven
Copy link
Member Author

It works for you but sometimes it doesn't work for me. It stalls midway somewhere.

Created https://github.com/NLeSC/xenon-grpc/tree/debug-getstreams-test branch to find out where it stalls.

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