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:
[email protected]


With regards,
Apache Git Services

Reply via email to