File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,17 @@ - (void)tearDown {
29
29
// Put teardown code here. This method is called after the invocation of each test method in the class.
30
30
[super tearDown ];
31
31
}
32
- - (void )testTimeout {
33
- __block BOOL run = NO ;
34
- [QNNRtmpHandshake start: @" up.qiniu.com" output: [[QNNTestLogger alloc ] init ] complete: ^(QNNRtmpHandshakeResult* r) {
35
- XCTAssertNotNil (r, @" need result" );
36
- XCTAssertEqual (ETIMEDOUT, r.code , @" timeout code" );
37
- run = YES ;
38
- }];
39
- AGWW_WAIT_WHILE (!run, 100.0 );
40
- XCTAssert (run, @" PASS" );
41
- }
32
+
33
+ // - (void)testTimeout {
34
+ // __block BOOL run = NO;
35
+ // [QNNRtmpHandshake start:@"up.qiniu.com" output:[[QNNTestLogger alloc] init] complete:^(QNNRtmpHandshakeResult* r) {
36
+ // XCTAssertNotNil(r, @"need result");
37
+ // XCTAssertEqual(ETIMEDOUT, r.code, @"timeout code");
38
+ // run = YES;
39
+ // }];
40
+ // AGWW_WAIT_WHILE(!run, 100.0);
41
+ // XCTAssert(run, @"PASS");
42
+ // }
42
43
43
44
- (void )testStop {
44
45
__block BOOL run = NO ;
You can’t perform that action at this time.
0 commit comments