Fixing unit test

This commit is contained in:
Ashwin Giridharan 2021-01-26 23:21:39 -08:00
parent 5142ce9bc5
commit 9ed1e10fe5

View file

@ -79,7 +79,7 @@ public class KinesisClientLibLeaseCoordinatorTest {
leaseCoordinator.initialize();
}
@Test(expected = KinesisClientLibIOException.class)
@Test(expected = com.amazonaws.services.kinesis.clientlibrary.exceptions.InvalidStateException.class)
public void testGetCheckpointObjectWithNoLease()
throws DependencyException, ProvisionedThroughputException, IllegalStateException, InvalidStateException,
KinesisClientLibException {