Skip to content

Commit

Permalink
rptest: Dont invoke DeleteRecords in upgrade tests
Browse files Browse the repository at this point in the history
- DeleteRecords is only enabled clusterwide after a full upgrade has
been completed.

- Fixes: #11944
  • Loading branch information
Rob Blafford committed Jul 7, 2023
1 parent 2c52ab4 commit 3d5a339
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/rptest/tests/controller_upgrade_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ def test_updating_cluster_when_executing_operations(self):
else:
admin_operations = [o for o in RedpandaAdminOperation]

# DeleteRecords is not an allowable admin operation until the cluster
# has been fully upgraded
admin_operations = [
o for o in admin_operations
if o != RedpandaAdminOperation.DELETE_RECORDS
]

installer.install(self.redpanda.nodes, prev_version)

self.redpanda.start()
Expand Down

0 comments on commit 3d5a339

Please sign in to comment.