Skip to content

Commit e146309

Browse files
committed
fixes
1 parent 23f9571 commit e146309

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

core/tests/gateway-migration-test/tests/migration.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,11 @@ describe('Migration From/To gateway test', function () {
181181
if (direction == 'TO') {
182182
return await l1MainContract.getPriorityQueueSize();
183183
} else {
184-
// return await gwMainContract.getPriorityQueueSize();
185-
const priorityQueueSize = await gwMainContract.getPriorityQueueSize();
186-
console.log("Priority queue size on gateway", priorityQueueSize);
187-
return priorityQueueSize;
184+
return await gwMainContract.getPriorityQueueSize();
188185
}
189-
}
186+
};
190187
tryCount = 0;
191-
while (await getPriorityQueueSize() > 0 && tryCount < 100) {
188+
while ((await getPriorityQueueSize()) > 0 && tryCount < 100) {
192189
tryCount += 1;
193190
await utils.sleep(1);
194191
}

0 commit comments

Comments
 (0)