HUE-6180 [beeswax] Extend _verify_query_state in beeswax tests to allow for multiple states (#514)
HUE-6180 [beeswax] Extend _verify_query_state in beeswax tests to allow for multiple states (#514)

In test_basic_flow beeswax test, we found a case where the query whose
state was being verified had actually completed before the test got the
chance to check the state, causing what was effectively a race condition
between the query engine and the test framework. This change allows for
the query to be in multiple states, which will still pass the test even
if the query finishes "too quickly".
kawamon/hue,todaychi/hue,xq262144/hue,kawamon/hue,kawamon/hue,jayceyxc/hue,xq262144/hue,kawamon/hue,jayceyxc/hue,kawamon/hue,todaychi/hue,kawamon/hue,xq262144/hue,jayceyxc/hue,jayceyxc/hue,kawamon/hue,xq262144/hue,todaychi/hue,xq262144/hue,todaychi/hue,todaychi/hue,jayceyxc/hue,cloudera/hue,kawamon/hue,todaychi/hue,kawamon/hue,kawamon/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,todaychi/hue,xq262144/hue,cloudera/hue,jayceyxc/hue,cloudera/hue,xq262144/hue,xq262144/hue,kawamon/hue,cloudera/hue,cloudera/hue,xq262144/hue,cloudera/hue,cloudera/hue,cloudera/hue,jayceyxc/hue,kawamon/hue,cloudera/hue,cloudera/hue,todaychi/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,todaychi/hue,cloudera/hue,jayceyxc/hue,cloudera/hue,cloudera/hue,kawamon/hue,jayceyxc/hue