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:
@@ -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 =
|
||||||
|
|||||||
Reference in New Issue
Block a user