Skip to content

Commit

Permalink
chore(*): Rename time.kt to timeutil.kt to keep intelliJ happy (spinn…
Browse files Browse the repository at this point in the history
…aker#2907)

* chore(*): Rename time.kt to timeutil.kt to keep intelliJ happy

* fix(tests): minor tweaks to tests

* make `QueueIntegrationTest` abstract
* extend the execution time to make travis better able to run the queue tests
  • Loading branch information
marchello2000 authored May 10, 2019
1 parent c64753f commit 7b21513
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ExecutionLatch(private val predicate: Predicate<ExecutionComplete>)
}
}

fun await() = latch.await(1, TimeUnit.SECONDS)
fun await() = latch.await(2, TimeUnit.SECONDS)
}

fun ConfigurableApplicationContext.runToCompletion(execution: Execution, launcher: (Execution) -> Unit, repository: ExecutionRepository) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import java.time.temporal.ChronoUnit.HOURS
properties = ["queue.retry.delay.ms=10"]
)
@RunWith(SpringRunner::class)
class QueueIntegrationTest {
abstract class QueueIntegrationTest {

@Autowired
lateinit var queue: Queue
Expand Down

0 comments on commit 7b21513

Please sign in to comment.