Closed carmee-en closed 6 years ago
You need delete all operators at the beginning of the InsertSampleDataService test. That seems to be causing all the problems.
Merging #38 into master will increase coverage by
0.31%
. The diff coverage is72.3%
.
@@ Coverage Diff @@
## master #38 +/- ##
============================================
+ Coverage 80.69% 81.01% +0.31%
- Complexity 137 162 +25
============================================
Files 22 24 +2
Lines 430 495 +65
Branches 47 57 +10
============================================
+ Hits 347 401 +54
- Misses 62 66 +4
- Partials 21 28 +7
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...a/com/uniovi/services/InsertSampleDataService.java | 100% <100%> (+11.11%) |
3 <1> (+1) |
:arrow_up: |
src/main/java/com/uniovi/entities/Incident.java | 89.55% <100%> (+0.48%) |
30 <2> (+2) |
:arrow_up: |
...ava/com/uniovi/controllers/IncidentController.java | 100% <100%> (ø) |
5 <0> (ø) |
:arrow_down: |
src/main/java/com/uniovi/entities/Operator.java | 65% <65%> (ø) |
14 <14> (?) |
|
...ain/java/com/uniovi/services/OperatorsService.java | 71.42% <71.42%> (ø) |
6 <6> (?) |
|
src/main/java/com/uniovi/entities/AgentInfo.java | 60.97% <0%> (+9.75%) |
14% <0%> (+2%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f0f5744...749a77e. Read the comment docs.
Third time's a charm I was finally able to implement the random operator assignment. Now, before sending the message to Kafka, a random operator is assigned to the incident.