mirror of https://github.com/deavmi/doap
CoapClient (unit test)
- Set `EXCHANGE_LIFETIME` high enough to not reuse message IDs
This commit is contained in:
parent
5edfd4ae36
commit
dc23fbd1a0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue