Skip to content

Commit

Permalink
mongo: Adjust error message in unit test to mongo-driver 1.5.0
Browse files Browse the repository at this point in the history
changelog: none

Signed-off-by: Alf-Rune Siqveland <alf.rune@northern.tech>
  • Loading branch information
alfrunes committed Mar 23, 2021
1 parent ae902dc commit efa6e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/mongo/datastore_mongo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func TestNewMongoStore(t *testing.T) {
}(),
TLSConfig: &tls.Config{},
},
Error: errors.New("^mongo: error reaching mongo server: " +
Error: errors.New("^mongo: error reaching mongo server:.*" +
context.Canceled.Error(),
),
}}
Expand Down

0 comments on commit efa6e85

Please sign in to comment.