From 281a3e256ae6be146fb6e837bdea57ee3bf8e6f0 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Wed, 6 Jul 2022 13:18:37 -0700 Subject: [PATCH] test: fix flaky test execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2 Before: sprite 3 uses the `wait` block to wait for the other two sprites to finish. After the `wait` blocks, sprite 3 sends "end" to the test. If the sprites take too long to finish, they might not be done before the "end" message. After: sprite 3 sets a variable called `finished` to zero on startup, and increments it every time it hears a new message. Each sprite sends that new message once it's done. When sprite 3 notices that `finished >= 2`, it sends the "end" message. --- ...s-2-broadcast-and-wait-repeat-message.sb2} | Bin 55164 -> 55230 bytes 1 file changed, 0 insertions(+), 0 deletions(-) rename test/fixtures/execute/{order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2.skip => order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2} (96%) diff --git a/test/fixtures/execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2.skip b/test/fixtures/execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2 similarity index 96% rename from test/fixtures/execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2.skip rename to test/fixtures/execute/order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2 index 95decac2965b792a41445f88679d84adc96e22cf..97d0673e4170b169617c59afff86c698bd91fb75 100644 GIT binary patch delta 1704 zcmZvcdpOg39LIl*u`SDGl$3I7nnuw?l!&Y-n_QOC>@iQ0%b~3%w~dsw zF3N-yx*>B!XmfIxDY@pjbSiSlIX$Oy`aaM5c|Mo#`}w^8dd(Gqs_%dpZbXnA6aWB4 zAT)Tu1MOViy-FSc3e*8$#o{z9oEj1o7>Nyupi;*6b^hA9QJGGwb`Xrry)&yzDQX=FItztXD5MRU(QI!VEa1$bp}Gmf7E^$>gnZJ-%jP zDrvQUv+);UA@MGQ5AAZh(6UKE(06lpnm+ryZ<)gZGi9HnS8D$#1$V#2v8i_TE)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