From cf3d0ee16e039c8fbb736455c9e5f8fa1e7c338a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 30 May 2023 22:20:49 +0200 Subject: [PATCH] Improve uncertain test --- test/livebook/app_test.exs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/livebook/app_test.exs b/test/livebook/app_test.exs index cf1a6b1d3..4747e77ad 100644 --- a/test/livebook/app_test.exs +++ b/test/livebook/app_test.exs @@ -83,7 +83,12 @@ defmodule Livebook.AppTest do App.deploy(app_pid, notebook) assert_receive {:app_updated, - %{sessions: [%{app_status: %{execution: :executing}, version: 2}]}} + %{ + sessions: [ + %{version: 2}, + %{app_status: %{lifecycle: :shutting_down}, version: 1} + ] + }} assert_receive {:app_updated, %{sessions: [%{app_status: %{execution: :executed}, version: 2}]}}