From 34da1da06108c8488b349cd7756463684e9d74ce Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Fri, 31 Jan 2025 08:10:33 -0800 Subject: [PATCH] fix: Fix flaky connection checker test. (#8754) --- tests/mocha/connection_checker_test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/mocha/connection_checker_test.js b/tests/mocha/connection_checker_test.js index f7aa33ba8..f353a2b77 100644 --- a/tests/mocha/connection_checker_test.js +++ b/tests/mocha/connection_checker_test.js @@ -503,8 +503,9 @@ suite('Connection checker', function () { `), 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; });