|  | @@ -12,7 +12,6 @@ import org.elasticsearch.index.Index;
 | 
	
		
			
				|  |  |  import org.elasticsearch.index.shard.ShardId;
 | 
	
		
			
				|  |  |  import org.elasticsearch.test.ESTestCase;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import java.util.ArrayList;
 | 
	
		
			
				|  |  |  import java.util.Arrays;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -35,9 +34,13 @@ public class IndexShardRoutingTableTests extends ESTestCase {
 | 
	
		
			
				|  |  |          Index index = new Index("a", "b");
 | 
	
		
			
				|  |  |          ShardId shardId = new ShardId(index, 1);
 | 
	
		
			
				|  |  |          ShardId shardId2 = new ShardId(index, 2);
 | 
	
		
			
				|  |  | -        IndexShardRoutingTable table1 = new IndexShardRoutingTable(shardId, new ArrayList<>());
 | 
	
		
			
				|  |  | -        IndexShardRoutingTable table2 = new IndexShardRoutingTable(shardId, new ArrayList<>());
 | 
	
		
			
				|  |  | -        IndexShardRoutingTable table3 = new IndexShardRoutingTable(shardId2, new ArrayList<>());
 | 
	
		
			
				|  |  | +        ShardRouting shardRouting = TestShardRouting.newShardRouting(shardId, null, true, ShardRoutingState.UNASSIGNED);
 | 
	
		
			
				|  |  | +        IndexShardRoutingTable table1 = new IndexShardRoutingTable(shardId, List.of(shardRouting));
 | 
	
		
			
				|  |  | +        IndexShardRoutingTable table2 = new IndexShardRoutingTable(shardId, List.of(shardRouting));
 | 
	
		
			
				|  |  | +        IndexShardRoutingTable table3 = new IndexShardRoutingTable(
 | 
	
		
			
				|  |  | +            shardId2,
 | 
	
		
			
				|  |  | +            List.of(TestShardRouting.newShardRouting(shardId2, null, true, ShardRoutingState.UNASSIGNED))
 | 
	
		
			
				|  |  | +        );
 | 
	
		
			
				|  |  |          String s = "Some other random object";
 | 
	
		
			
				|  |  |          assertEquals(table1, table1);
 | 
	
		
			
				|  |  |          assertEquals(table1, table2);
 |