- Reset state after testing a testcase.
- Increase timeout for finding the target device.
When there are many BT devices, it might take more than 8 seconds.
Change-Id: I08fe1b602a4e781e7a1424cb2bf7dc9c22b3e901
Signed-off-by: Semun Lee <semun.lee@samsung.com>
count++;
if (flagDeviceDiscovery)
break;
- if (count == 8)
+ if (count == 15)
break;
}
}
await ManualTest.WaitForConfirm();
// POSTCONDITION
- Assert.AreEqual(device.Address, address, "Bonded device address must be same as address of destroyed bond device");
device.BondCreated -= EventHandlerBondCreated;
device.BondDestroyed -= EventHandlerBondDestroyed;
+ flagBondCreated = false;
+ Assert.AreEqual(device.Address, address, "Bonded device address must be same as address of destroyed bond device");
}
[Test]