Project

General

Profile

Actions

Bug #43760

closed

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

Added by Volker Theile about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Users & Roles
Target version:
% Done:

0%

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

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().

Actions #1

Updated by Volker Theile about 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Volker Theile about 4 years ago

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

Updated by Volker Theile about 4 years ago

  • Description updated (diff)
Actions #4

Updated by Volker Theile about 4 years ago

  • Description updated (diff)
Actions #5

Updated by Volker Theile about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 150 to Component - Users & Roles
Actions

Also available in: Atom PDF