Skip to content

Commit

Permalink
e2etest: fix dynamic census test
Browse files Browse the repository at this point in the history
Signed-off-by: p4u <[email protected]>
  • Loading branch information
p4u committed Jun 17, 2024
1 parent 00072b3 commit 95fa13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/end2endtest/dynamicensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (t *E2EDynamicensusElection) Run() error {
CensusURL: "http://test/census",
}); err != nil {
// check if the error is not expected
if !strings.Contains(err.Error(), "only processes with dynamic census can update their census") {
if !strings.Contains(err.Error(), "only processes with dynamic census can update their root") {
errCh <- fmt.Errorf("unexpected error when update the census %s", err)
return
}
Expand Down

0 comments on commit 95fa13c

Please sign in to comment.