Skip to content

ListAllWithLicenses methods is inconsistent outputs for several calls #132

@imjaroiswebdev

Description

@imjaroiswebdev

Once in a while the test case TestListAllWithLicenses fails with the following ouput...

==> Testing go-pagerduty
2023/05/30 16:16:27 ===== PagerDuty Cache Skipping Init =====
2023/05/30 16:16:27 ==== Getting users at offset 0
2023/05/30 16:16:27 ==== Getting users at offset 1
2023/05/30 16:16:27 ==== Getting license_allocations at offset 0
2023/05/30 16:16:27 ==== Getting license_allocations at offset 1
--- FAIL: TestListAllWithLicenses (0.00s)
    user_test.go:264: returned []*pagerduty.User{(*pagerduty.User)(0x14000252140), (*pagerduty.User)(0x14000252000)}; want []*pagerduty.User{(*pagerduty.User)(0x14000252280), (*pagerduty.User)(0x140002523c0)}
FAIL
FAIL    github.com/heimweh/go-pagerduty/pagerduty       0.171s
FAIL
make: *** [test] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions