Skip to content

Commit

Permalink
cleanup testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Aug 25, 2023
1 parent 516017a commit 1e52394
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 43 deletions.
7 changes: 1 addition & 6 deletions roboquant-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,12 @@
<version>1.1.10.1</version>
</dependency>

<!-- Fix Issues -->
<!-- required for schema parsing -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.15.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.2</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package org.roboquant.avro

import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.*
import org.junit.jupiter.api.MethodOrderer.Alphanumeric
import org.junit.jupiter.api.TestMethodOrder
import org.junit.jupiter.api.assertDoesNotThrow
Expand Down Expand Up @@ -49,6 +49,18 @@ class AvroFeedTest {

}


private fun play(feed: Feed, timeframe: Timeframe = Timeframe.INFINITE): EventChannel {
val channel = EventChannel(timeframe = timeframe)

CoroutineScope(Dispatchers.IO + Job()).launch {
feed.play(channel)
channel.close()
}
return channel
}


internal companion object {

@TempDir
Expand Down
36 changes: 0 additions & 36 deletions roboquant-avro/src/test/kotlin/org/roboquant/avro/TestFeedTest.kt

This file was deleted.

0 comments on commit 1e52394

Please sign in to comment.