Fix volume id.
This commit is contained in:
		
							parent
							
								
									51f4683204
								
							
						
					
					
						commit
						dc91b60119
					
				| 
						 | 
					@ -292,7 +292,7 @@ func TestMigrateEBS(t *testing.T) {
 | 
				
			||||||
			{VolumeID: "ebs-volume-2", VolumeType: "gp3", Size: 100}}, nil)
 | 
								{VolumeID: "ebs-volume-2", VolumeType: "gp3", Size: 100}}, nil)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// expect only gp2 volume to be modified
 | 
						// expect only gp2 volume to be modified
 | 
				
			||||||
	resizer.EXPECT().ModifyVolume(gomock.Eq("persistent-volume-0"), gomock.Eq("gp3"), gomock.Any(), gomock.Any(), gomock.Any()).Return(nil)
 | 
						resizer.EXPECT().ModifyVolume(gomock.Eq("ebs-volume-0"), gomock.Eq("gp3"), gomock.Any(), gomock.Any(), gomock.Any()).Return(nil)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cluster.VolumeResizer = resizer
 | 
						cluster.VolumeResizer = resizer
 | 
				
			||||||
	cluster.executeEBSMigration()
 | 
						cluster.executeEBSMigration()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue