Project

General

Profile

Actions

Bug #45538

open

qa: Fix string/byte comparison mismatch in test_exports

Added by Sidharth Anupkrishnan almost 4 years ago. Updated almost 2 years 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')
Actions

Also available in: Atom PDF