edgedb / edgedb

A graph-relational database with declarative schema, built-in migration system, and a next-generation query language
https://edgedb.com
Apache License 2.0
12.76k stars 390 forks source link

Improve test runner status rendering #7447

Closed aljazerzen closed 2 weeks ago

aljazerzen commented 2 weeks ago

Fix of test runner status rendering which would sometimes display this:

image

It can be reproduced by such tests:

    def test_debug_with_really_long_names_fast_1(self):
        import time
        time.sleep(1)
    def test_debug_with_really_long_names_fast_2(self):
        import time
        time.sleep(1)
    def test_debug_with_really_long_names_fast_3(self):
        import time
        time.sleep(1)
    def test_debug_with_really_long_names_fast_4(self):
        import time
        time.sleep(1)
    def test_debug_with_really_long_names_fast_5(self):
        import time
        time.sleep(1)
    def test_debug_with_really_long_names_fast_6(self):
        import time
        time.sleep(1)
    def test_debug_with_really_long_names_slow_1(self):
        import time
        time.sleep(5)