Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c73fca4

Browse filesBrowse files
Merge pull request #81 from PhilippSalvisberg/80_no_output
#80 - Realtime reporter produces no output
2 parents 5649b56 + 0ed7fdc commit c73fca4
Copy full SHA for c73fca4

File tree

1 file changed

+7
-5
lines changed
Filter options

1 file changed

+7
-5
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/runner/UtplsqlRunner.xtend

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/runner/UtplsqlRunner.xtend
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,18 @@ class UtplsqlRunner implements RealtimeReporterEventConsumer {
283283
def runTestAsync() {
284284
// start tests when the GUI has been successfully initialized.
285285
if (initGUI) {
286-
// the producer
287-
val Runnable producer = [|produce]
288-
producerThread = new Thread(producer)
289-
producerThread.name = "realtime producer"
290-
producerThread.start
291286
// the consumer
292287
val Runnable consumer = [|consume]
293288
consumerThread = new Thread(consumer)
294289
consumerThread.name = "realtime consumer"
295290
consumerThread.start
291+
// avoid concurrency on output header table to fix issue #80
292+
Thread.sleep(100)
293+
// the producer
294+
val Runnable producer = [|produce]
295+
producerThread = new Thread(producer)
296+
producerThread.name = "realtime producer"
297+
producerThread.start
296298
}
297299
}
298300

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.