Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Removed support for the non used A1 1.0 standard
[nonrtric.git]
/
policy-agent
/
src
/
test
/
java
/
org
/
oransc
/
policyagent
/
tasks
/
ServiceSupervisionTest.java
diff --git
a/policy-agent/src/test/java/org/oransc/policyagent/tasks/ServiceSupervisionTest.java
b/policy-agent/src/test/java/org/oransc/policyagent/tasks/ServiceSupervisionTest.java
index
a984528
..
070e8da
100644
(file)
--- a/
policy-agent/src/test/java/org/oransc/policyagent/tasks/ServiceSupervisionTest.java
+++ b/
policy-agent/src/test/java/org/oransc/policyagent/tasks/ServiceSupervisionTest.java
@@
-101,7
+101,7
@@
public class ServiceSupervisionTest {
await().atMost(Durations.FIVE_SECONDS).with().pollInterval(Durations.ONE_SECOND).until(service::isExpired);
await().atMost(Durations.FIVE_SECONDS).with().pollInterval(Durations.ONE_SECOND).until(service::isExpired);
- serviceSupervisionUnderTest.checkAllServices();
+ serviceSupervisionUnderTest.checkAllServices()
.blockLast()
;
assertThat(policies.size()).isEqualTo(0);
assertThat(services.size()).isEqualTo(0);
assertThat(policies.size()).isEqualTo(0);
assertThat(services.size()).isEqualTo(0);
@@
-125,7
+125,7
@@
public class ServiceSupervisionTest {
final ListAppender<ILoggingEvent> logAppender = LoggingUtils.getLogListAppender(ServiceSupervision.class, WARN);
final ListAppender<ILoggingEvent> logAppender = LoggingUtils.getLogListAppender(ServiceSupervision.class, WARN);
- serviceSupervisionUnderTest.checkAllServices();
+ serviceSupervisionUnderTest.checkAllServices()
.blockLast()
;
assertThat(policies.size()).isEqualTo(0);
assertThat(services.size()).isEqualTo(0);
assertThat(policies.size()).isEqualTo(0);
assertThat(services.size()).isEqualTo(0);
@@
-143,7
+143,7
@@
public class ServiceSupervisionTest {
ServiceSupervision serviceSupervisionUnderTest =
new ServiceSupervision(services, policies, a1ClientFactoryMock);
ServiceSupervision serviceSupervisionUnderTest =
new ServiceSupervision(services, policies, a1ClientFactoryMock);
- serviceSupervisionUnderTest.checkAllServices();
+ serviceSupervisionUnderTest.checkAllServices()
.blockLast()
;
assertThat(policies.size()).isEqualTo(1);
assertThat(services.size()).isEqualTo(1);
assertThat(policies.size()).isEqualTo(1);
assertThat(services.size()).isEqualTo(1);
@@
-159,7
+159,7
@@
public class ServiceSupervisionTest {
ServiceSupervision serviceSupervisionUnderTest =
new ServiceSupervision(services, policies, a1ClientFactoryMock);
ServiceSupervision serviceSupervisionUnderTest =
new ServiceSupervision(services, policies, a1ClientFactoryMock);
- serviceSupervisionUnderTest.checkAllServices();
+ serviceSupervisionUnderTest.checkAllServices()
.blockLast()
;
assertThat(policies.size()).isEqualTo(1);
assertThat(services.size()).isEqualTo(1);
assertThat(policies.size()).isEqualTo(1);
assertThat(services.size()).isEqualTo(1);