8000 [PBCKP-304] fix cfs_restore test · postgrespro/pg_probackup@fc8b890 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc8b890

Browse files
author
Ivan Lazarev
committed
[PBCKP-304] fix cfs_restore test
1 parent 03f210b commit fc8b890

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/cfs_restore.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ def test_restore_empty_tablespace_from_fullbackup(self):
105105
tblspace = self.node.safe_psql(
106106
"postgres",
107107
"SELECT * FROM pg_tablespace WHERE spcname='{0}'".format(tblspace_name)
108-
)
109-
tblspace = str(tblspace)
108+
).decode("UTF-8")
110109
self.assertTrue(
111110
tblspace_name in tblspace and "compression=true" in tblspace,
112111
"ERROR: The tablespace not restored or it restored without compressions"

0 commit comments

Comments
 (0)
0