Skip to content

Commit de65ec8

Browse files
committed
Merge branch '2.1'
2 parents 224104d + ee938f1 commit de65ec8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/src/main/java/org/apache/accumulo/test/functional/ScannerIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import org.apache.accumulo.core.client.ScannerBase.ConsistencyLevel;
5050
import org.apache.accumulo.core.client.TimedOutException;
5151
import org.apache.accumulo.core.client.admin.servers.ServerId;
52-
import org.apache.accumulo.core.clientImpl.ClientContext;
5352
import org.apache.accumulo.core.clientImpl.ThriftScanner;
5453
import org.apache.accumulo.core.conf.ClientProperty;
5554
import org.apache.accumulo.core.conf.Property;
@@ -363,7 +362,7 @@ public void testIOExceptionDuringScanFileOpen() throws Exception {
363362

364363
client.tableOperations().flush(table, null, null, true);
365364

366-
var ctx = (ClientContext) client;
365+
var ctx = getCluster().getServerContext();
367366
var tableId = ctx.getTableId(table);
368367

369368
// Delete the tablets file to cause an IOException during opening the file. By default

0 commit comments

Comments
 (0)