Fix broken test due to API rename

A race condition during an Api rename has caused
the name change from reserveSecurityParameterIndex
to allocateSecurityParameterIndex to be wrong in
a test. Fixing.

Bug: 69128142
Test: runtest frameworks-net
Change-Id: I12fb9832cb938dc19f463b1f1124127435d7b173
This commit is contained in:
Nathan Harold
2017-12-14 14:46:46 -08:00
committed by nharold
parent 37303d5e94
commit bcbe3b6bf2

View File

@@ -178,7 +178,7 @@ public class IpSecServiceParameterizedTest {
.thenReturn(TEST_SPI_OUT); .thenReturn(TEST_SPI_OUT);
IpSecSpiResponse spiResp = IpSecSpiResponse spiResp =
mIpSecService.reserveSecurityParameterIndex( mIpSecService.allocateSecurityParameterIndex(
IpSecTransform.DIRECTION_OUT, mRemoteAddr, TEST_SPI_OUT, new Binder()); IpSecTransform.DIRECTION_OUT, mRemoteAddr, TEST_SPI_OUT, new Binder());
IpSecService.UserRecord userRecord = IpSecService.UserRecord userRecord =