Add delay in test case
This commit is contained in:
parent
e35eaa97b3
commit
0c7c720018
|
@ -50,6 +50,7 @@ t_emqx_pubsub_api(_) ->
|
|||
Payload = <<"Hello World">>,
|
||||
Topic1 = <<"mytopic1">>,
|
||||
emqx:subscribe(Topic, ClientId),
|
||||
ct:sleep(100),
|
||||
?assertEqual([Topic], emqx:topics()),
|
||||
?assertEqual([self()], emqx:subscribers(Topic)),
|
||||
?assertEqual([{Topic,#{qos => 0,subid => ClientId}}], emqx:subscriptions(self())),
|
||||
|
|
Loading…
Reference in New Issue