Skip to content

Commit 34da1da

Browse files
authored
fix: Fix flaky connection checker test. (#8754)
1 parent 3e4665e commit 34da1da

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/mocha/connection_checker_test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,9 @@ suite('Connection checker', function () {
503503
</xml>`),
504504
this.workspace,
505505
);
506-
[this.blockA, this.blockB, this.blockC] =
507-
this.workspace.getAllBlocks(true);
506+
this.blockA = this.workspace.getBlockById('A');
507+
this.blockB = this.workspace.getBlockById('B');
508+
this.blockC = this.workspace.getBlockById('C');
508509
this.checker = this.workspace.connectionChecker;
509510
});
510511

0 commit comments

Comments
 (0)