| Index: tests/standalone/io/web_socket_test.dart
|
| diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart
|
| index 31d7a2f3648dcc7ecfdbf7b9866cbe549032add5..26d3202e6d308686c27eb8780718fd3c0099030f 100644
|
| --- a/tests/standalone/io/web_socket_test.dart
|
| +++ b/tests/standalone/io/web_socket_test.dart
|
| @@ -250,8 +250,8 @@ class SecurityConfiguration {
|
|
|
|
|
| void testUsePOST() {
|
| + asyncStart();
|
| createServer().then((server) {
|
| - asyncStart();
|
| server.transform(new WebSocketTransformer()).listen((webSocket) {
|
| Expect.fail("No connection expected");
|
| }, onError: (e) {
|
| @@ -336,7 +336,7 @@ class SecurityConfiguration {
|
| });
|
| }
|
|
|
| - testIndivitualUpgrade(int connections) {
|
| + testIndividualUpgrade(int connections) {
|
| createServer().then((server) {
|
| server.listen((request) {
|
| if (WebSocketTransformer.isUpgradeRequest(request)) {
|
| @@ -402,7 +402,7 @@ class SecurityConfiguration {
|
| testNoUpgrade();
|
| testUsePOST();
|
| testConnections(10, 3002, "Got tired");
|
| - testIndivitualUpgrade(5);
|
| + testIndividualUpgrade(5);
|
| }
|
| }
|
|
|
| @@ -415,7 +415,9 @@ void initializeSSL() {
|
|
|
|
|
| main() {
|
| + asyncStart();
|
| new SecurityConfiguration(secure: false).runTests();
|
| initializeSSL();
|
| new SecurityConfiguration(secure: true).runTests();
|
| + asyncEnd();
|
| }
|
|
|