File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
sqldev/src/main/java/org/utplsql/sqldev/runner Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ class UtplsqlRunner implements RealtimeReporterEventConsumer {
121121 run. startTime = event. startTime
122122 run. endTime = event. endTime
123123 run. executionTime = event. executionTime
124- run. counter = event. counter
125124 run. errorStack = event. errorStack
126125 run. serverOutput = event. serverOutput
127126 run. status = String . format(UtplsqlResources . getString(" RUNNER_FINNISHED_TEXT" ), event. executionTime)
@@ -163,12 +162,18 @@ class UtplsqlRunner implements RealtimeReporterEventConsumer {
163162 }
164163 test. failedExpectations = event. failedExpectations
165164 test. warnings = event. warnings
165+ if (test. warnings !== null ) {
166+ // it does not matter how many rows are used by utPLSQL to store a warning event
167+ test. counter. warning = 1
168+ } else {
169+ test. counter. warning = 0
170+ }
166171 }
167172 run. counter. disabled = run. counter. disabled + event. counter. disabled
168173 run. counter. success = run. counter. success + event. counter. success
169174 run. counter. failure = run. counter. failure + event. counter. failure
170175 run. counter. error = run. counter. error + event. counter. error
171- run. counter. warning = run. counter. warning + event . counter. warning
176+ run. counter. warning = run. counter. warning + test . counter. warning
172177 panel. update(reporterId)
173178 }
174179
You can’t perform that action at this time.
0 commit comments