diff options
author | Nathan Harold <nharold@google.com> | 2017-12-14 14:46:46 -0800 |
---|---|---|
committer | nharold <nharold@google.com> | 2017-12-14 23:04:42 +0000 |
commit | 660a335f11efd2e5b0db65ab829abafec1934e9b (patch) | |
tree | 9fe95ac7e9f18dd16de772e9d1e7015ff30fba92 /tests/net/java/com/android/server/IpSecServiceParameterizedTest.java | |
parent | df0f5e979137193aebab0b3a4e7007b275a99549 (diff) |
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
Diffstat (limited to 'tests/net/java/com/android/server/IpSecServiceParameterizedTest.java')
-rw-r--r-- | tests/net/java/com/android/server/IpSecServiceParameterizedTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java b/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java index 963e042f1db4..80e42a33b3cc 100644 --- a/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java +++ b/tests/net/java/com/android/server/IpSecServiceParameterizedTest.java @@ -178,7 +178,7 @@ public class IpSecServiceParameterizedTest { .thenReturn(TEST_SPI_OUT); IpSecSpiResponse spiResp = - mIpSecService.reserveSecurityParameterIndex( + mIpSecService.allocateSecurityParameterIndex( IpSecTransform.DIRECTION_OUT, mRemoteAddr, TEST_SPI_OUT, new Binder()); IpSecService.UserRecord userRecord = |