Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Concurrency improvements
[nonrtric.git]
/
policy-agent
/
src
/
test
/
java
/
org
/
oransc
/
policyagent
/
utils
/
MockA1ClientFactory.java
diff --git
a/policy-agent/src/test/java/org/oransc/policyagent/utils/MockA1ClientFactory.java
b/policy-agent/src/test/java/org/oransc/policyagent/utils/MockA1ClientFactory.java
index
c1fd8c3
..
9967958
100644
(file)
--- a/
policy-agent/src/test/java/org/oransc/policyagent/utils/MockA1ClientFactory.java
+++ b/
policy-agent/src/test/java/org/oransc/policyagent/utils/MockA1ClientFactory.java
@@
-72,4
+72,9
@@
public class MockA1ClientFactory extends A1ClientFactory {
this.asynchDelay = delay;
}
this.asynchDelay = delay;
}
+ public void reset() {
+ this.asynchDelay = Duration.ofSeconds(0);
+ clients.clear();
+ }
+
}
}