-
Notifications
You must be signed in to change notification settings - Fork 96
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
Reorganizes the asynchronous classes. #19
Conversation
} | ||
|
||
def "We are able to get the correct self url"() { | ||
expect: | ||
JobPayloadBuilder.getSelfUrl("ticket1", uriInfo) == "https://localhost:9998/v1/jobs/ticket1" | ||
JobPayloadBuilder.getSelfUrl("ticket1", uriInfo) == "https://localhost:9998/v1/async/ticket1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked with Rick and he was under the impression that the api endpoint should still be jobs and not async. (Applies elsewhere as well)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that should still be jobs
. My renaming got a bit overzealous, it looks like.
efb3798
to
3bcfb56
Compare
👍 |
👍 |
-- The spec has test that verifies that when the timeout expires, an empty Observable is emitted. However, the timeout was 2 milliseconds, and the main test thread was only sleeping 5 milliseconds before sending the message. These two times were too close together, so that the test may result in a false failure in a highly contested environment (i.e. Travis). In order to avoid this problem, the timing element has been removed completely: -- We now assert that the Observable received by the Subscriber completes without sending any values (i.e. the Observable subscribed to is empty).
3bcfb56
to
15effd9
Compare
-- Before everything was shoved into the single jobs package. Now, the package structure has been made much more organized (and hopefully) tractable.
-- Before everything was shoved into the single jobs package. Now, the
package structure has been made much more organized (and hopefully)
tractable.