The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user sudiptob2 (triggered by sudiptob2).
Head commit for run: 686b5c85c4fa923464fdb98669f7a6030a5136fb / Jarek Potiuk <[email protected]> Fix session handling in test_session_inaccessible_after_logout There were two problem was with session handling: * the get_session_cookie - did not get the right cookie - it returned "session" string. The right fix was to change cookie_jar into cookie.jar because this is where apparently TestClient of starlette is holding the cookies (visible when you debug) * The client does not accept "set_cookie" method - it accepts passing cookies via "cookies" dictionary - this is the usual httpx client - see https://www.starlette.io/testclient/ - so we have to set cookie directly in the get method to try it out I added few more calls to show what's going on and to see that the call works before logout The other two tests shoudl be fixed similarly. Report URL: https://github.com/apache/airflow/actions/runs/8617036681 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
