Skip to content

Commit

Permalink
fix: Fix flaky connection checker test. (google#8754)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfunko authored and RoboErikG committed Feb 19, 2025
1 parent ed858ab commit 001dc97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/mocha/connection_checker_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,9 @@ suite('Connection checker', function () {
</xml>`),
this.workspace,
);
[this.blockA, this.blockB, this.blockC] =
this.workspace.getAllBlocks(true);
this.blockA = this.workspace.getBlockById('A');
this.blockB = this.workspace.getBlockById('B');
this.blockC = this.workspace.getBlockById('C');
this.checker = this.workspace.connectionChecker;
});

Expand Down

0 comments on commit 001dc97

Please sign in to comment.