* Fix race condition in the test.
This commit is contained in:
		
							parent
							
								
									fa69ff5726
								
							
						
					
					
						commit
						a6a3f3a8c2
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -37,6 +37,7 @@ makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in { | ||||||
|       $server->succeed("mkdir -m 700 /root/.ssh"); |       $server->succeed("mkdir -m 700 /root/.ssh"); | ||||||
|       $server->copyFileFromHost("key.pub", "/root/.ssh/authorized_keys"); |       $server->copyFileFromHost("key.pub", "/root/.ssh/authorized_keys"); | ||||||
|       $server->waitForJob("sshd"); |       $server->waitForJob("sshd"); | ||||||
|  |       $client->waitForJob("network-interfaces"); | ||||||
|       $client->succeed("ssh -o StrictHostKeyChecking=no " . $server->name() . " 'echo hello world'"); |       $client->succeed("ssh -o StrictHostKeyChecking=no " . $server->name() . " 'echo hello world'"); | ||||||
| 
 | 
 | ||||||
|       # Copy the closure of package A from the client to the server. |       # Copy the closure of package A from the client to the server. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue