CoapClient (unit test)

- Set `EXCHANGE_LIFETIME` high enough to not reuse message IDs
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-26 16:29:51 +02:00
parent 5edfd4ae36
commit dc23fbd1a0
1 changed files with 2 additions and 1 deletions

View File

@ -415,7 +415,8 @@ unittest
.post();
// client.setExchangeLifetime(dur!("msecs")(180));
// Set it to something high enough (TODO: Change this later)
client.setExchangeLifetime(dur!("msecs")(300));
writeln("Future start (first)");
CoapPacket response = future.get();