mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Skip migration unit test on non amd64 platform
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
		
							parent
							
								
									bbcbed3b54
								
							
						
					
					
						commit
						cf73ebf280
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -67,6 +67,9 @@ func TestMigrateContainers(t *testing.T) {
 | 
			
		|||
	if runtime.GOOS == "windows" {
 | 
			
		||||
		t.Skip("Failing on Windows")
 | 
			
		||||
	}
 | 
			
		||||
	if runtime.GOARCH != "amd64" {
 | 
			
		||||
		t.Skip("Test tailored to amd64 architecture")
 | 
			
		||||
	}
 | 
			
		||||
	tmpdir, err := ioutil.TempDir("", "migrate-containers")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		t.Fatal(err)
 | 
			
		||||
| 
						 | 
				
			
			@ -142,6 +145,9 @@ func TestMigrateImages(t *testing.T) {
 | 
			
		|||
	if runtime.GOOS == "windows" {
 | 
			
		||||
		t.Skip("Failing on Windows")
 | 
			
		||||
	}
 | 
			
		||||
	if runtime.GOARCH != "amd64" {
 | 
			
		||||
		t.Skip("Test tailored to amd64 architecture")
 | 
			
		||||
	}
 | 
			
		||||
	tmpdir, err := ioutil.TempDir("", "migrate-images")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		t.Fatal(err)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue