diff --git a/tests/integration/renderer/test_request_hooks.py b/tests/integration/renderer/test_request_hooks.py index a1ee50a55a..7f707cf823 100644 --- a/tests/integration/renderer/test_request_hooks.py +++ b/tests/integration/renderer/test_request_hooks.py @@ -3,6 +3,8 @@ import flask import pytest +from flaky import flaky + from dash import Dash, Output, Input, html, dcc from dash.types import RendererHooks from werkzeug.exceptions import HTTPException @@ -198,6 +200,7 @@ def update_output(value): assert dash_duo.get_logs() == [] +@flaky(max_runs=3) @pytest.mark.parametrize("expiry_code", [401, 400]) def test_rdrh003_refresh_jwt(expiry_code, dash_duo): app = Dash(__name__)