Project

General

Profile

Bug #45538

qa: Fix string/byte comparison mismatch in test_exports

Added by Sidharth Anupkrishnan about 1 year ago. Updated 5 months ago.

Status:
Triaged
Priority:
Normal
Category:
Correctness/Safety
Target version:
% Done:

0%

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

Description

mount.getfattr() returns string rather than bytes after https://github.com/ceph/ceph/pull/34941. This produces assertion failure for

self.assertEqual(self.mount_a.getfattr("1", "ceph.dir.pin"), b'1')

History

#1 Updated by Sidharth Anupkrishnan about 1 year ago

  • Description updated (diff)

#2 Updated by Patrick Donnelly about 1 year ago

  • Status changed from New to Triaged
  • Target version set to v16.0.0

#3 Updated by Sidharth Anupkrishnan about 1 year ago

  • Pull request ID set to 35053

#4 Updated by Patrick Donnelly 5 months ago

  • Target version changed from v16.0.0 to v17.0.0
  • Backport set to pacific,octopus,nautilus

Also available in: Atom PDF