Skip to content

Commit

Permalink
tests: validate offset translator state in random_node_operations_test
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Maślanka <[email protected]>
  • Loading branch information
mmaslankaprv committed Dec 20, 2024
1 parent 026fa9b commit 59eba45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/rptest/tests/random_node_operations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from rptest.services.redpanda import CHAOS_LOG_ALLOW_LIST, PREV_VERSION_LOG_ALLOW_LIST, CloudStorageType, LoggingConfig, PandaproxyConfig, SISettings, SchemaRegistryConfig, get_cloud_storage_type
from rptest.services.redpanda_installer import RedpandaInstaller
from rptest.utils.mode_checks import cleanup_on_early_exit, skip_debug_mode, skip_fips_mode
from rptest.utils.node_operations import FailureInjectorBackgroundThread, NodeOpsExecutor, generate_random_workload
from rptest.utils.node_operations import FailureInjectorBackgroundThread, NodeOpsExecutor, generate_random_workload, verify_offset_translator_state_consistent

from rptest.clients.offline_log_viewer import OfflineLogViewer
from rptest.tests.datalake.utils import supported_storage_types
Expand Down Expand Up @@ -593,6 +593,7 @@ def cluster_version_updated():
err_msg="Error waiting for cluster to report consistent version"
)

verify_offset_translator_state_consistent(self.redpanda)
# Validate that the controller log written during the test is readable by offline log viewer
log_viewer = OfflineLogViewer(self.redpanda)
for node in self.redpanda.started_nodes():
Expand Down

0 comments on commit 59eba45

Please sign in to comment.