Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions langfun/env/base_feature_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import time
import unittest

from langfun.env import test_utils
Expand Down Expand Up @@ -216,6 +217,8 @@ def test_feature_housekeeping_error(self):
)
with env:
env.wait_for_housekeeping()
while env.is_online:
time.sleep(0.01)
self.assertFalse(env.is_online)
self.assertIn(
'[testing-env/test_feature] feature housekeeping 0 with ValueError',
Expand Down
Loading