You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/08/27 20:17:01 UTC

[GitHub] [airflow] nuclearpinguin commented on issue #5931: [AIRFLOW-5322] Fix flaky gcp transfer hook test

nuclearpinguin commented on issue #5931: [AIRFLOW-5322] Fix flaky gcp transfer hook test
URL: https://github.com/apache/airflow/pull/5931#issuecomment-525465427
 
 
   Probably te reason was using `json.dumps` to create string representation of a dictionary:
   ```python
   json.dumps({"project_id": TEST_PROJECT_ID, "job_names": [job_name]})
   ```
   and as we already know dictionaries in P3.5 does not preserve order, thus the result was
   ```
   '{"job_names": ["transferJobs/test-job"], "project_id": "project-id"}'
   ```
   or
   ```
   '{"project_id": "project-id", "job_names": ["transferJobs/test-job"]}'
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services