Esempio n. 1
0
class SkipIfKudu:
    unsupported_env = pytest.mark.skipif(
        os.environ["KUDU_IS_SUPPORTED"] == "false",
        reason="Kudu is not supported in this environment")
    no_hybrid_clock = pytest.mark.skipif(
        get_kudu_master_flag("--use_hybrid_clock") == "false",
        reason="Test relies on --use_hybrid_clock=true in Kudu.")
    hms_integration_enabled = pytest.mark.skipif(
        get_kudu_master_flag("--hive_metastore_uris") != "",
        reason="Test assumes Kudu/HMS integration is not enabled.")
Esempio n. 2
0
class SkipIfKudu:
    unsupported_env = pytest.mark.skipif(
        os.environ["KUDU_IS_SUPPORTED"] == "false",
        reason="Kudu is not supported in this environment")
    no_hybrid_clock = pytest.mark.skipif(
        get_kudu_master_flag("--use_hybrid_clock") == "false",
        reason="Test relies on --use_hybrid_clock=true in Kudu.")