You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test.test_capi.test_watchers makes assumptions about available watcher IDs #162473
There's a number of tests (test.test_capi.test_watchers.TestTypeWatchers.test_error, test.test_capi.test_watchers.TestTypeWatchers.test_watch_unassigned_watcher_id, etc.) which assume that watcher IDs 1 and 3 are available for use, and hardcode them.
When running these tests with CinderX, they fail because CinderX installs watchers on import, and that changes what IDs are available.
We can make these tests more general by generating IDs that are guaranteed to be unused, by creating a watcher then immediately clearing it.
Activity