Project

General

Profile

Actions

Bug #37841

closed

mgr/dashboard: RbdMirroringService test suite fails in dev mode

Added by Stephan Müller over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Stephan Müller
Category:
Testing & QA
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If you have set DEV in unit-test-configuration.ts to true, in order to run all unit tests much faster, the unit test suite of rbd mirroring service fails.

The reason is, that it's expecting a call, that is triggered inside the constructor, which is only done once in for the copy used in the fast testing mode (if it would be done on within ngOnInit this wouldn't be a problem).

Actions

Also available in: Atom PDF