Project

General

Profile

Actions

Bug #42812

closed

mgr/dashboard: Unit test is failing because of the timezone

Added by Tiago Melo over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
UI
Target version:
% Done:

0%

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

Description

RBD snapshot has an unit test that only validates positive timezones.


Related issues 2 (0 open2 closed)

Is duplicate of Dashboard - Bug #42243: mgr/dashboard: Fix unit test that is failing in a negative timezoneDuplicate

Actions
Copied to Dashboard - Backport #44995: nautilus: mgr/dashboard: Unit test is failing because of the timezoneResolvedWei-Chung ChengActions
Actions #1

Updated by Tiago Melo over 4 years ago

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

Updated by Lenz Grimmer over 4 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v15.0.0
Actions #3

Updated by Kiefer Chang about 4 years ago

  • Backport set to nautilus

We need to backport this to nautilus.
An test failed on nautilus: https://jenkins.ceph.com/job/ceph-pull-requests/49181/console

..
  ● RbdSnapshotListComponent › snapshot modal dialog › should display suggested snapshot name

    expect(received).toMatch(expected)

    Expected pattern: /^image01_[\d-]+T[\d.:]+\+[\d:]+$/
    Received string:  "image01_2020-04-08T01:29:22.911-04:00" 

      212 |     it('should display suggested snapshot name', () => {
      213 |       component.openCreateSnapshotModal();
    > 214 |       expect(component.modalRef.content.snapName).toMatch(
          |                                                   ^
      215 |         RegExp(`^${component.rbdName}_[\\d-]+T[\\d.:]+\\+[\\d:]+\$`)
      216 |       );
      217 |     });
Actions #4

Updated by Kiefer Chang about 4 years ago

  • Status changed from Resolved to Pending Backport
Actions #5

Updated by Wei-Chung Cheng about 4 years ago

  • Copied to Backport #44995: nautilus: mgr/dashboard: Unit test is failing because of the timezone added
Actions #6

Updated by Lenz Grimmer about 4 years ago

  • Status changed from Pending Backport to Resolved
Actions #7

Updated by Stephan Müller almost 4 years ago

  • Is duplicate of Bug #42243: mgr/dashboard: Fix unit test that is failing in a negative timezone added
Actions #8

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 165 to UI
Actions

Also available in: Atom PDF