mirror of https://github.com/tikv/client-java.git
				
				
				
			
							parent
							
								
									0f4563a0d2
								
							
						
					
					
						commit
						9406c9bb36
					
				|  | @ -181,7 +181,8 @@ public class RequestKeyCodecTest { | |||
|     { | ||||
|       ByteString m_123 = CodecUtils.encode(ByteString.copyFromUtf8("m_123")); | ||||
|       ByteString m_124 = CodecUtils.encode(ByteString.copyFromUtf8("m_124")); | ||||
|       ByteString infiniteEndKey_0 = CodecUtils.encode(v2.infiniteEndKey.concat(ByteString.copyFrom(new byte[] {0}))); | ||||
|       ByteString infiniteEndKey_0 = | ||||
|           CodecUtils.encode(v2.infiniteEndKey.concat(ByteString.copyFrom(new byte[] {0}))); | ||||
|       ByteString t_123 = CodecUtils.encode(ByteString.copyFromUtf8("t_123")); | ||||
|       ByteString y_123 = CodecUtils.encode(ByteString.copyFromUtf8("y_123")); | ||||
| 
 | ||||
|  | @ -197,11 +198,7 @@ public class RequestKeyCodecTest { | |||
|       }; | ||||
| 
 | ||||
|       for (ByteString[] testCase : outOfKeyspaceCases) { | ||||
|         region = | ||||
|             Region.newBuilder() | ||||
|                 .setStartKey(testCase[0]) | ||||
|                 .setEndKey(testCase[1]) | ||||
|                 .build(); | ||||
|         region = Region.newBuilder().setStartKey(testCase[0]).setEndKey(testCase[1]).build(); | ||||
|         try { | ||||
|           decoded = v2.decodeRegion(region); | ||||
|           fail(String.format("[%s,%s): %s", testCase[0], testCase[1], decoded.toString())); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue