-
Notifications
You must be signed in to change notification settings - Fork 583
TestMTUNetworkCRUDL acceptance test is not deterministic #2592
Copy link
Copy link
Closed
Description
We compare objects returned from an Update operation, and retrieved from a Get. It seems like the updated_at field is not yet updated in the return of the Update, which could cause the comparison to fail.
See for example https://github.com/gophercloud/gophercloud/actions/runs/4414202596/jobs/7735607146#step:5:3886
convenience.go:237: Failure in mtu_test.go, line 132:at .Network.UpdatedAt expected time.Date(2023, time.March, 14, 9, 55, 49, 0, time.UTC), but got time.Date(2023, time.March, 14, 9, 55, 50, 0, time.UTC)
convenience.go:36: Failure in mtu_test.go, line 132: The structures were different.
networking.go:518: Attempting to delete network: eb7f9980-d339-4883-b91c-53e9cb3fefad
networking.go:525: Deleted network: eb7f9980-d339-4883-b91c-53e9cb3fefad
--- FAIL: TestMTUNetworkCRUDL (1.14s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels