File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Tests/HiveMQtt.Test/HiveMQClient Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public async Task Last_Will_With_Properties_Async()
63
63
Assert . Equal ( SubAckReasonCode . GrantedQoS1 , result . Subscriptions [ 0 ] . SubscribeReasonCode ) ;
64
64
Assert . Equal ( "last/will" , result . Subscriptions [ 0 ] . TopicFilter . Topic ) ;
65
65
66
- // Setup & Connect the client with LWT
66
+ // Setup & Connect another client with a LWT
67
67
var options = new HiveMQClientOptions
68
68
{
69
69
LastWillAndTestament = new LastWillAndTestament ( "last/will" , "last will message" ) ,
@@ -87,7 +87,7 @@ public async Task Last_Will_With_Properties_Async()
87
87
var disconnectResult = await client . DisconnectAsync ( disconnectOptions ) . ConfigureAwait ( false ) ;
88
88
89
89
// Wait until the LWT message is received
90
- var taskResult = await taskLWTReceived . Task . WaitAsync ( TimeSpan . FromSeconds ( 10 ) ) . ConfigureAwait ( false ) ;
90
+ var taskResult = await taskLWTReceived . Task . WaitAsync ( TimeSpan . FromSeconds ( 25 ) ) . ConfigureAwait ( false ) ;
91
91
Assert . True ( taskResult ) ;
92
92
}
93
93
}
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public async Task Last_Will_With_Properties_Async()
98
98
var disconnectResult = await client . DisconnectAsync ( disconnectOptions ) . ConfigureAwait ( false ) ;
99
99
100
100
// Wait until the LWT message is received
101
- var taskResult = await taskLWTReceived . Task . WaitAsync ( TimeSpan . FromSeconds ( 10 ) ) . ConfigureAwait ( false ) ;
101
+ var taskResult = await taskLWTReceived . Task . WaitAsync ( TimeSpan . FromSeconds ( 25 ) ) . ConfigureAwait ( false ) ;
102
102
Assert . True ( taskResult ) ;
103
103
}
104
104
}
You can’t perform that action at this time.
0 commit comments