test_init_application_called_twice unit test fails intermittently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Balazs Gibizer | ||
Train |
In Progress
|
Undecided
|
melanie witt | ||
Ussuri |
Fix Released
|
Undecided
|
melanie witt | ||
Victoria |
Fix Released
|
Undecided
|
melanie witt |
Bug Description
Traceback (most recent call last):
File "/home/
return func(*newargs, **newkeywargs)
File "/home/
mock_
File "/home/
raise AssertionError(msg)
AssertionError: Expected 'parse_args' to be called once. Called 0 times.
It seems that after [1] merged the two init tests test_init_
It is probably due the global state introduced in [1] not handled properly in the test.
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: gate-failure |
Changed in nova: | |
status: | In Progress → Fix Released |
It can be reproduce with
tox -e py38 "'test_ init_applicatio n_passes_ sys_argv_ to_config| test_init_ application_ called_ twice'" -- --serial