fix: cached common bootstrap Revert (#21018) (#21419)

This commit is contained in:
Daniel Vaz Gaspar
2022-09-10 01:02:24 +01:00
committed by GitHub
parent f1acbaf45d
commit 094400c308
2 changed files with 2 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ from superset.connectors.sqla.models import SqlaTable
from superset.db_engine_specs.base import BaseEngineSpec
from superset.db_engine_specs.mssql import MssqlEngineSpec
from superset.exceptions import SupersetException
from superset.extensions import async_query_manager, cache_manager
from superset.extensions import async_query_manager
from superset.models import core as models
from superset.models.annotations import Annotation, AnnotationLayer
from superset.models.dashboard import Dashboard
@@ -1455,8 +1455,6 @@ class TestCore(SupersetTestCase):
"""
Functions in feature flags don't break bootstrap data serialization.
"""
# feature flags are cached
cache_manager.cache.clear()
self.login()
encoded = json.dumps(