Skip to content

Flaky test_delayed_replica_failover #54502

@devcrafter

Description

@devcrafter

Describe the bug
https://s3.amazonaws.com/clickhouse-test-reports/0/9bbd81ca6c27c3645be0d12ee61f304d1494bbe3/integration_tests__release__[4_4].html

Error message and/or stacktrace

            # If we forbid stale replicas, the query must fail. But sometimes we must have bigger timeouts.
            for _ in range(20):
                try:
                    instance_with_dist_table.query(
                        """
    SELECT count() FROM distributed SETTINGS
        load_balancing='in_order',
        max_replica_delay_for_distributed_queries=1,
        fallback_to_stale_replicas_for_distributed_queries=0
    """
                    )
                    time.sleep(0.5)
                except:
                    break
            else:
>               raise Exception("Didn't raise when stale replicas are not allowed")
E               Exception: Didn't raise when stale replicas are not allowed

test_delayed_replica_failover/test.py:151: Exception

Metadata

Metadata

Assignees

Labels

flaky testflaky test found by CItestingSpecial issue with list of bugs found by CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions