Closed Prnyself closed 4 years ago
Merging #284 into master will increase coverage by
0.00%
. The diff coverage is66.66%
.
@@ Coverage Diff @@
## master #284 +/- ##
=======================================
Coverage 49.60% 49.60%
=======================================
Files 21 21
Lines 1014 1016 +2
=======================================
+ Hits 503 504 +1
- Misses 507 508 +1
Partials 4 4
Impacted Files | Coverage Δ | |
---|---|---|
cmd/qsctl/taskutils/progress.go | 81.25% <66.66%> (-0.57%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e77ea9d...a6ca3e2. Read the comment docs.
When task done more quickly than progress bar render, the
wg
would cause data race. Because theWaitProgress
would callwait()
as write beforewg.Add()
as read. So weadd
thewg
at the start ofStartProgress
, anddone
while callWaitProgress
for balance. See more details in #283