Skip to content

Commit

Permalink
Revert debug (#62)
Browse files Browse the repository at this point in the history
* Revert debug code
Revert "provide extra information (#59)"

This reverts commit b4f95a4.

* show information in CI
  • Loading branch information
himadieievsv authored Jan 16, 2024
1 parent 42f07a7 commit bc02ed7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:
:redpulsar-core:test \
:redpulsar-jedis:test \
:redpulsar-lettuce:test \
-DexcludeTags="unit"
-DexcludeTags="unit" -i
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import com.himadieiev.redpulsar.core.utils.withTimeoutInThread
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import mu.KotlinLogging
import java.time.Duration
import java.util.Collections
import kotlin.system.measureTimeMillis
Expand Down Expand Up @@ -60,9 +59,6 @@ suspend inline fun <T : Backend, R> multiInstanceExecute(
waiter(jobs)
}
val validity = timeout.toMillis() - timeDiff - clockDrift
val logger = KotlinLogging.logger { }
logger.info { "Validity: $validity, Result size: ${results.size}" }
logger.info { "Results: $results" }
if (results.size < quorum || validity < 0) {
val cleanUpJobs = mutableListOf<Job>()
backends.forEach { backend ->
Expand Down

0 comments on commit bc02ed7

Please sign in to comment.