Skip to content

pgwire: flake in TestAuthenticationAndHBARules #43733

@knz

Description

@knz

My previous PR #43730 introduced a flake, for example:

                    datadriven.go:154:
                        testdata/auth/special_cases:44: host all testuser 0.0.0.0/0 cert
                        expected:
                        # Active authentication configuration on this node:
                        # TYPE DATABASE USER     ADDRESS   METHOD OPTIONS  #
                        host   all      root     all       cert            #
                        host   all      testuser 0.0.0.0/0 cert            #

                        found:
                        # Active authentication configuration on this node:
                        # TYPE DATABASE USER ADDRESS   METHOD   OPTIONS  #
                        host   all      root all       cert              #
                        host   all      root 0.0.0.0/0 password          #

The problem is that the cluster setting is updated asynchronously so the expected output can be legitimately off.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions