mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Fix flaky TestSQLCreate test by making sqlmock ignore order of sql requests
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
This commit is contained in:
parent
512970ab40
commit
28ab648d3c
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,8 @@ func TestSqlCreate(t *testing.T) {
|
|||
sqlCustomLabelsTableKeyColumn,
|
||||
sqlCustomLabelsTableValueColumn,
|
||||
)
|
||||
|
||||
mock.MatchExpectationsInOrder(false)
|
||||
for k, v := range filterSystemLabels(rel.Labels) {
|
||||
mock.
|
||||
ExpectExec(regexp.QuoteMeta(labelsQuery)).
|
||||
|
|
|
|||
Loading…
Reference in a new issue