Skip to content

Commit

Permalink
test: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
XuGuohui committed Aug 22, 2024
1 parent 9bcbf8c commit 6c4e81d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ static void pairingTestRoutine(bool request, BlePairingAlgorithm algorithm,
assertTrue(waitFor(BLE.connected, 20000));
{
SCOPE_GUARD ({
Particle.publish("disconnect");
assertTrue(waitFor([]{ return !BLE.connected(); }, 5000));
Particle.publish("BLE disconnect", nullptr, WITH_ACK);
assertTrue(waitFor([]{ return !BLE.connected(); }, 60000));
assertFalse(BLE.connected());
});

Expand Down

0 comments on commit 6c4e81d

Please sign in to comment.