diff options
author | Skip Wonnell <skip@att.com> | 2018-02-07 10:15:54 -0600 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-02-07 19:11:23 +0000 |
commit | 35177b945c84789627558405311c3c182e5527bd (patch) | |
tree | 7b5cdf95520991cdc4c49ee637e64d9b81e82084 /appc-adapters/appc-chef-adapter | |
parent | abb2c4d57e885e1e22bddb6734883309666783f7 (diff) |
Increase allowed interval in ChefApiClient test
Issue-ID: APPC-411
Change-Id: I4936559bfa0cf8dbe89c2a81d464fecc0a49afa0
Signed-off-by: Skip Wonnell <skip@att.com>
Diffstat (limited to 'appc-adapters/appc-chef-adapter')
-rw-r--r-- | appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/test/java/org/onap/appc/adapter/chef/chefclient/TestChefApiClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/test/java/org/onap/appc/adapter/chef/chefclient/TestChefApiClient.java b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/test/java/org/onap/appc/adapter/chef/chefclient/TestChefApiClient.java index b8be22560..9e787b64d 100644 --- a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/test/java/org/onap/appc/adapter/chef/chefclient/TestChefApiClient.java +++ b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/test/java/org/onap/appc/adapter/chef/chefclient/TestChefApiClient.java @@ -107,7 +107,7 @@ public class TestChefApiClient { assertEquals("sb Method:" + method, response[0]); assertEquals("Hashed Path:+JEk1y2gXwqZRweNjXYtx4ojxW8=", response[1]); assertEquals("X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=", response[2]); - checkTimestamp(response[3], 5000); + checkTimestamp(response[3], 30000); assertEquals("X-Ops-UserId:test", response[4]); } @@ -116,4 +116,4 @@ public class TestChefApiClient { LocalDateTime ld1 = LocalDateTime.parse(timeStampHeader.replace("X-Ops-Timestamp:", ""), dtf); assertTrue(ChronoUnit.MILLIS.between(ld1, LocalDateTime.now(ZoneId.of("UTC"))) <= maxDeltaMs); } -}
\ No newline at end of file +} |