Skip to content

Commit

Permalink
Merge branch 'develop' into fix/ios
Browse files Browse the repository at this point in the history
  • Loading branch information
matzuk authored Nov 23, 2023
2 parents 6d05e2d + 6ce8941 commit 8db99ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ internal class BillingReporter(

usageTracker.trackEvent(Event.Devices(bills.size))
val result = executionReport.summary.pools.map { it.failed.isEmpty() }.reduceOrNull { acc, b -> acc && b } ?: true
val flakiness = executionReport.summary.pools.sumOf { it.rawDurationMillis - it.durationMillis / 1000 }
val flakiness = executionReport.summary.pools.sumOf { (it.rawDurationMillis - it.durationMillis) / 1000 }
val durationSeconds = ((Instant.now().toEpochMilli() - defaultStart.toEpochMilli()) / 1000)
usageTracker.trackEvent(Event.Executed(seconds = bills.sumOf { it.duration } / 1000,
success = result,
Expand Down

0 comments on commit 8db99ee

Please sign in to comment.