Add rolling upgrade tests for table oids assigned on 6.3#410
Open
Add rolling upgrade tests for table oids assigned on 6.3#410
Conversation
4 tasks
jeeminso
commented
Apr 15, 2026
Comment on lines
+106
to
+109
| self.assertEqual( | ||
| zero_oids, | ||
| [], | ||
| f"pg_class contains oid = 0 for relations: {zero_oids}" |
Contributor
Author
There was a problem hiding this comment.
======================================================================
FAIL: test_rolling_upgrade_5_to_6 (test_rolling_upgrade.RollingUpgradeTest.test_rolling_upgrade_5_to_6) [6.2 -> 6.3.x]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/workspace/CrateDB/qa/crate_qa_on_pr/tests/bwc/test_rolling_upgrade.py", line 40, in test_rolling_upgrade_5_to_6
self._test_rolling_upgrade(path, nodes=3)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/var/lib/jenkins/workspace/CrateDB/qa/crate_qa_on_pr/tests/bwc/test_rolling_upgrade.py", line 106, in _test_rolling_upgrade
self.assertEqual(
~~~~~~~~~~~~~~~~^
zero_oids,
^^^^^^^^^^
[],
^^^
f"pg_class contains oid = 0 for relations: {zero_oids}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
AssertionError: Lists differ: ['rx', 'x', 'y', 'parted', 't1', 't2', 't3'] != []
First list contains 7 additional elements.
First extra element 0:
'rx'
- ['rx', 'x', 'y', 'parted', 't1', 't2', 't3']
+ [] : pg_class contains oid = 0 for relations: ['rx', 'x', 'y', 'parted', 't1', 't2', 't3']
----------------------------------------------------------------------
Ran 1 test in 88.806s
currently all table oids are 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of the changes / Why this is an improvement
Checklist