forked from cerc-io/registry-sdk
Fix authority expiry timeout
This commit is contained in:
parent
37c2f5897f
commit
5fe6c432de
@ -60,10 +60,11 @@ const nameserviceExpiryTests = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('Wait for expiry duration', (done) => {
|
test('Wait for expiry duration', (done) => {
|
||||||
setTimeout(done, 60 * 1000);
|
const expiryTime = 60 * 1000;
|
||||||
|
|
||||||
// Wait some more time for block to be executed
|
// Wait some more time for block to be executed
|
||||||
setTimeout(done, 3 * 1000);
|
const waitTime = expiryTime + (3 * 1000);
|
||||||
|
setTimeout(done, waitTime);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Check record expiry time', async () => {
|
test('Check record expiry time', async () => {
|
||||||
@ -87,10 +88,11 @@ const nameserviceExpiryTests = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('Wait for expiry duration', (done) => {
|
test('Wait for expiry duration', (done) => {
|
||||||
setTimeout(done, 60 * 1000);
|
const expiryTime = 60 * 1000;
|
||||||
|
|
||||||
// Wait some more time for block to be executed
|
// Wait some more time for block to be executed
|
||||||
setTimeout(done, 3 * 1000);
|
const waitTime = expiryTime + (3 * 1000);
|
||||||
|
setTimeout(done, waitTime);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Check record deleted without bond balance', async () => {
|
test('Check record deleted without bond balance', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user