import pytest


pytestmark = pytest.mark.jenkins

def test_resume_and_suspend_recluster(dynamic_table_handle):
    assert dynamic_table_handle.fetch().automatic_clustering is True
    dynamic_table_handle.suspend_recluster()
    assert dynamic_table_handle.fetch().automatic_clustering is False
    dynamic_table_handle.resume_recluster()
    assert dynamic_table_handle.fetch().automatic_clustering is True
