We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task Description
Occationally fails:
______ • [FAILED] [0.151 seconds] Service when Insert Service and we have 10 Services in the database [It] can insert correctly [database, Service, InsertService] /home/runner/work/heureka/heureka/internal/database/mariadb/service_test.go:600 Timeline >> STEP: throwing no error @ 10/22/24 06:54:29.056 [FAILED] in [It] - /home/runner/work/heureka/heureka/internal/database/mariadb/service_test.go:604 @ 10/22/24 06:54:29.056 << Timeline [FAILED] Expected <*errors.errorString | 0xc00194afe0>: Error 1062 (23000): Duplicate entry 'Pughave' for key 'name_UNIQUE' { s: "Error 1062 (23000): Duplicate entry 'Pughave' for key 'name_UNIQUE'", } to be nil In [It] at: /home/runner/work/heureka/heureka/internal/database/mariadb/service_test.go:604 @ 10/22/24 06:54:29.056 ------------------------------
Acceptance Criteria:
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
https://github.com/cloudoperators/heureka/actions/runs/11454823727/job/31869671118?pr=286
It looks like we already fixed this issue by adding a UUID to the Service CCRN to add more randomness:
func NewFakeBaseService() mariadb.BaseServiceRow { return mariadb.BaseServiceRow{ CCRN: sql.NullString{String: fmt.Sprintf("%s-%s", gofakeit.AppName(), gofakeit.UUID()), Valid: true}, } }
MR2011
No branches or pull requests
Task Description
Occationally fails:
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: