예제 #1
0
파일: skip.py 프로젝트: wizhaa/impala
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.")
예제 #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.")