Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Changed the config loading from consul
[nonrtric.git]
/
policy-agent
/
src
/
test
/
java
/
org
/
oransc
/
policyagent
/
clients
/
A1ClientFactoryTest.java
diff --git
a/policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java
b/policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java
index
742734e
..
d696770
100644
(file)
--- a/
policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java
+++ b/
policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientFactoryTest.java
@@
-115,10
+115,10
@@
public class A1ClientFactoryTest {
StepVerifier.create(factoryUnderTest.createA1Client(ric)) //
.expectSubscription() //
StepVerifier.create(factoryUnderTest.createA1Client(ric)) //
.expectSubscription() //
- .expectError
Matches(throwable -> throwable.getMessage().equals(EXCEPTION_MESSAGE)
) //
+ .expectError
(
) //
.verify();
.verify();
- assertEquals(A1ProtocolType.UNKNOWN, ric.getProtocolVersion(), "
Not correct protocol"
);
+ assertEquals(A1ProtocolType.UNKNOWN, ric.getProtocolVersion(), "
Protocol negotiation failed for " + ric.name()
);
}
private A1Client createClient(A1ProtocolType version) throws ServiceException {
}
private A1Client createClient(A1ProtocolType version) throws ServiceException {