diff options
author | Jim Hahn <jrh3@att.com> | 2019-06-28 09:53:35 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-06-28 10:02:44 -0400 |
commit | e6bf601e69e40768efbc934c88b17fd9d4062e49 (patch) | |
tree | ece93685ad2fd579403d9c58c5f766269738bf6b /controlloop/common/feature-controlloop-trans/pom.xml | |
parent | d0932a1a2339a02dab04eedefa0480535e68d31c (diff) |
Remove sleep() from junit tests
Replaced sleep() calls with awaitability.await(). Also shortened
the timeout, for the test, from 10s to 2s.
Change-Id: I5d9cb84b405782f174b6230294e5d6a47938c4b8
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/feature-controlloop-trans/pom.xml')
-rw-r--r-- | controlloop/common/feature-controlloop-trans/pom.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/controlloop/common/feature-controlloop-trans/pom.xml b/controlloop/common/feature-controlloop-trans/pom.xml index a7cc8dd5a..f7bc974aa 100644 --- a/controlloop/common/feature-controlloop-trans/pom.xml +++ b/controlloop/common/feature-controlloop-trans/pom.xml @@ -8,9 +8,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -153,6 +153,12 @@ <scope>test</scope> </dependency> <dependency> + <groupId>org.awaitility</groupId> + <artifactId>awaitility</artifactId> + <version>3.0.0</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <scope>provided</scope> |