File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ def tearDownClass(cls):
141141 def setUp (self ):
142142 self .enabled = os .environ .get ('SINGLESTOREDB_FUSION_ENABLED' )
143143 os .environ ['SINGLESTOREDB_FUSION_ENABLED' ] = '1'
144+ self .hidden_enabled = os .environ .get ('SINGLESTOREDB_FUSION_ENABLE_HIDDEN' )
145+ os .environ ['SINGLESTOREDB_FUSION_ENABLE_HIDDEN' ] = '1'
144146 self .conn = s2 .connect (database = type (self ).dbname , local_infile = True )
145147 self .cur = self .conn .cursor ()
146148
@@ -150,6 +152,11 @@ def tearDown(self):
150152 else :
151153 del os .environ ['SINGLESTOREDB_FUSION_ENABLED' ]
152154
155+ if self .hidden_enabled :
156+ os .environ ['SINGLESTOREDB_FUSION_ENABLE_HIDDEN' ] = self .hidden_enabled
157+ else :
158+ del os .environ ['SINGLESTOREDB_FUSION_ENABLE_HIDDEN' ]
159+
153160 try :
154161 if self .cur is not None :
155162 self .cur .close ()
You can’t perform that action at this time.
0 commit comments