tests: better determinism in test-chg.t

Closed Arseniy Alekseyev requested to merge topic/default/less-flaky-chg-tests into branch/default

chg tests fail pretty often with "Sample count: *" line disappearing. It disappears because the sample count is zero, in which case a custom message is printed. This commit makes the test succeed in that case.

Merge request reports