Patchwork test-patchbomb: fix the test

login
register
mail settings
Submitter Jun Wu
Date Sept. 28, 2017, 5:41 p.m.
Message ID <c2099c462f1c0ed939e5.1506620465@x1c>
Download mbox | patch
Permalink /patch/24206/
State Accepted
Headers show

Comments

Jun Wu - Sept. 28, 2017, 5:41 p.m.
# HG changeset patch
# User Jun Wu <quark@fb.com>
# Date 1506620273 25200
#      Thu Sep 28 10:37:53 2017 -0700
# Node ID c2099c462f1c0ed939e521ef767caa669fc78354
# Parent  f428c347d32b2f110856c6fb7fec00a5f4cc0c0d
test-patchbomb: fix the test

With the experimental config `progress.estimate` removed, the progress
output in `test-patchbomb.t` has a minor change: it shows ETA since the
beginning.

(This could be folded into f428c3)
Yuya Nishihara - Sept. 29, 2017, 6:07 a.m.
On Thu, 28 Sep 2017 10:41:05 -0700, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark@fb.com>
> # Date 1506620273 25200
> #      Thu Sep 28 10:37:53 2017 -0700
> # Node ID c2099c462f1c0ed939e521ef767caa669fc78354
> # Parent  f428c347d32b2f110856c6fb7fec00a5f4cc0c0d
> test-patchbomb: fix the test

Queued, thanks.

Patch

diff --git a/tests/test-patchbomb.t b/tests/test-patchbomb.t
--- a/tests/test-patchbomb.t
+++ b/tests/test-patchbomb.t
@@ -334,8 +334,8 @@  Test breaking format changes aren't
                                                               \r (no-eol) (esc)
   \r (no-eol) (esc)
-  sending [==============>                              ] 1/3\r (no-eol) (esc)
+  sending [============>                            ] 1/3 01s\r (no-eol) (esc)
                                                               \r (no-eol) (esc)
   \r (no-eol) (esc)
-  sending [=============================>               ] 2/3\r (no-eol) (esc)
+  sending [==========================>              ] 2/3 01s\r (no-eol) (esc)
                                                               \r (esc)
   sending [PATCH 0 of 2] test ...