mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-10-31 15:56:05 +08:00 
			
		
		
		
	Improve uncertain test
This commit is contained in:
		
							parent
							
								
									8a86caeda7
								
							
						
					
					
						commit
						cf3d0ee16e
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -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}]}} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue