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

Fix legacy tests: account blocked (connection limits exceeded) #505

Merged
merged 4 commits into from
Sep 27, 2016

Conversation

ricardopereira
Copy link
Contributor

@@ -58,7 +58,8 @@ - (void)multipleSendName:(NSString *)name count:(int)count delay:(int)delay {
}];
}
}];
[self waitForExpectationsWithTimeout:[ARTTestUtil timeout]+delay handler:nil];
[self waitForExpectationsWithTimeout:50.0 handler:nil];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that SocketRocket is slower than SwiftWebSocket.
Total time increased from 18s seconds to 47s.

@tcard
Copy link
Contributor

tcard commented Sep 19, 2016

LGTM

@ricardopereira
Copy link
Contributor Author

Now I will see what's wrong with the Spec test suite. Will create a branch from this one.

This was referenced Sep 20, 2016
@tcard tcard force-pushed the fix-legacy-tests-account-blocked branch 2 times, most recently from 7be9767 to 6ae50a1 Compare September 22, 2016 11:15
@tcard tcard force-pushed the fix-legacy-tests-account-blocked branch from 6ae50a1 to e8e6836 Compare September 22, 2016 11:54
* Test suite: add `testSuite_waitForConnectionToClose`

* Fix testMultipleText_1000_10: increase timeout

* A few fixes in tests.

* Fix connection broken after connection is closed: should wait for the publishing acknowledgement

* Fix spec tests: expects `done` completion closure to only be called once

* Fix: decode each REST presence message data

* Fix RSP5

* Fix: should error if authUrl request is returning incompatible data

* Fix RTP8h, RTP9e, RTP10e: token with clientId

* Fix RTN17e: already closed

* RTC8: pending

* Fix #117 test: add delay

* Enhance RTP5b: wait for presence of Client2

 - sometimes was passing, sometimes not

* Fix InvalidNimbleAPIUsage: nested async expectations are not allowed to avoid creating flaky tests
@ricardopereira ricardopereira merged commit 13fcb23 into master Sep 27, 2016
@ricardopereira ricardopereira deleted the fix-legacy-tests-account-blocked branch September 27, 2016 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants