Skip to content

Commit f0070e9

Browse files
committed
disable rtmp timeout test
1 parent 43ca234 commit f0070e9

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

NetDiagTests/RtmpTest.m

+11-10
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)