Пример #1
0
def tracking_config_force_true():
    # Enforce "tracking" config section so that changes in config files won't affect tests
    config.set(
        "tracking",
        "value_reporting_strategy",
        ValueTrackingLevel.ALL,
        priority=ConfigValuePriority.OVERRIDE,
    )
    config.set("tracking",
               "log_value_stats",
               True,
               priority=ConfigValuePriority.OVERRIDE)
    config.set("tracking",
               "log_histograms",
               True,
               priority=ConfigValuePriority.OVERRIDE)
    return TrackingConfig()
Пример #2
0
def tracking_config_force_false():
    # Enforce "tracking" config section so that changes in config files won't affect tests
    config.set("tracking", "log_value_stats", False, override=True)
    config.set("tracking", "log_histograms", False, override=True)
    return TrackingConfig()
Пример #3
0
from dbnd import config
from dbnd.tasks.basics import dbnd_sanity_check


if __name__ == "__main__":
    config.set("databand", "env", "gcp_k8s")
    dbnd_sanity_check.dbnd_run()