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

(cherry picked from commit 094400c308)
This commit is contained in:
Daniel Vaz Gaspar
2022-09-10 01:02:24 +01:00
committed by AAfghahi
parent db661ec17f
commit 2583f7fde3
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
@@ -1400,8 +1400,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(