Timing issue in test_query()
The new query backend is eventually consistent so we're getting intermittent error in Python client integration test.
Looking at test (integration/test_query.py(test_query)), we create folders and check for number of folders in a tight loop, which would cause the failure.
Note: There is a comment at the begining of the test '## TODO: replace this test with the one below when query() is replaced'. Check with Larsson to see if the test should just be deleted.
py-1.6 vs 181.0-x
Fixed this in because It covers more integration tests with query timing issues
They are failing again. Instead of sleep(), I should wait for the query result to update in a while loop and timeout after ~20 seconds.