Project

General

Profile

Bug #43760

mgr/dashboard: Unit test does not do the mentioned thing

Added by Volker Theile 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/usermgmt
Target version:
% Done:

0%

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

Description

The unit test AccessControlTest::test_load_v2() is testing a v1 database instead of a v2.

The current implementation of test_load_v2() loads a v1 user database which already contains the fields 'enabled' and 'pwdExpirationDate' that are added with v2. It's not possible that such a data structure exists. The loading and migration of a v1 database is tested in AccessControlTest::test_load_v1().

History

#1 Updated by Volker Theile 6 months ago

  • Status changed from New to In Progress

#2 Updated by Volker Theile 6 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 32799

#3 Updated by Volker Theile 6 months ago

  • Description updated (diff)

#4 Updated by Volker Theile 6 months ago

  • Description updated (diff)

#5 Updated by Volker Theile 6 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF