Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tests stability #21

Closed
Closed
Labels
@ololobus

Description

@ololobus

There are two types of errors occurring from time to time when running docker tests.

  1. Assertion failure with basic python tests:
test when two backends compete with each other to extract state from third running backend...ok!test statistics under calling function...[(9429, 0, 'select * from n_join_foo_bar()', 'Function Scan on n_join_foo_bar (Current loop: actual rows=0, loop number=1)', None)]Traceback (most recent call last):  File "tests/pg_qs_test_runner.py", line 129, in <module>    main(args)  File "tests/pg_qs_test_runner.py", line 112, in main    test(conn_params)  File "/pg/testdir/tests/test_cases.py", line 122, in test_nested_call    assert len(qs) == 2 \AssertionError
  1. And division by zero with TPC-DS:
Database is setup successfullyStarting stress testPreparing TPC-DS queries...Starting TPC-DS queries... 91% (94 of 103) |##############################################################################################################################################################                | Elapsed Time: 0:01:06 ETA:   0:00:06Traceback (most recent call last):  File "tests/pg_qs_test_runner.py", line 129, in <module>    main(args)  File "tests/pg_qs_test_runner.py", line 98, in main    tpcds.run_tpcds(conn_params)  File "/pg/testdir/tests/tpcds.py", line 107, in run_tpcds    common.wait(acon)  File "/pg/testdir/tests/common.py", line 17, in wait    state = conn.poll()psycopg2.errors.DivisionByZero: division by zero100% (103 of 103) |#############################################################################################################################################################################| Elapsed Time: 0:01:07 Time:  0:01:07

First one looks like a real issue to fix or at least we have to correct our expectations.

Second one looks like a problem with test infrastructure and does not actually lead to a test failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp