File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,17 @@ - (void)tearDown {
2929 // Put teardown code here. This method is called after the invocation of each test method in the class.
3030 [super tearDown ];
3131}
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+ // }
4243
4344- (void )testStop {
4445 __block BOOL run = NO ;
You can’t perform that action at this time.
0 commit comments