|
Ran
|
Jobs
1
|
Files
306
|
Run time
32s
|
Badge
README BADGES
|
push
travis-ci
test: replication/status.test.lua fails on Debug Found 2 issues on Debug build: [009] --- replication/status.result Fri Sep 11 10:04:53 2020 [009] +++ replication/status.reject Fri Sep 11 13:16:21 2020 [009] @@ -174,7 +174,8 @@ [009] ... [009] test_run:wait_downstream(replica_id, {status == 'follow'}) [009] --- [009] -- true [009] +- error: '[string "return test_run:wait_downstream(replica_id, {..."]:1: variable [009] + ''status'' is not declared' [009] ... [009] -- wait for the replication vclock [009] test_run:wait_cond(function() \ [009] @@ -226,7 +227,8 @@ [009] ... [009] test_run:wait_upstream(master_id, {status == 'follow'}) [009] --- [009] -- true [009] +- error: '[string "return test_run:wait_upstream(master_id, {sta..."]:1: variable [009] + ''status'' is not declared' [009] ... [009] master.upstream.lag < 1 [009] --- It happened because of the change introduced in commit [1]. Where mistakenly were used wait_upstream()/wait_downstream() with: test_run:wait_*stream(*_id, {status == 'follow'}) with status set using '==' instead of '='. We unable to read status variable when the strict mode is enabled. It is enabled by default on Debug builds. Follows up #5110 Closes #5297 Reviewed-by: Alexander Turenko <alexander.turenko@tarantool.org> Co-authored-by: Alexander Turenko <alexander.turenko@tarantool.org> [1] - a08b4f3ad ("test: flaky replication/status.test.lua status") (cherry picked from commit 008e732c3)
42102 of 50919 relevant lines covered (82.68%)
1041052.8 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 3 | 24294.3 (TARGET=coverage) | 0 |
82.68 |
Travis Job 24294.3 |