Skip to content

Commit

Permalink
do not wait for indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
sprsquish committed Aug 22, 2016
1 parent 5204b0b commit e433864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/page_spec.rb
Expand Up @@ -8,7 +8,7 @@
index_values = client.query { create ref('indexes'), name: 'page_values', source: @test_class, values: [{ path: 'data.value' }] }
index_foreach = client.query { create ref('indexes'), name: 'page_apply', source: @foreach_class }

wait_for_index(index_refs[:ref], index_values[:ref], index_foreach[:ref])
#wait_for_index(index_refs[:ref], index_values[:ref], index_foreach[:ref])

@refs_index = index_refs[:ref]
@values_index = index_values[:ref]
Expand Down
4 changes: 2 additions & 2 deletions spec/query_spec.rb
Expand Up @@ -10,7 +10,7 @@
create ref('indexes'), name: 'query_by_y', source: @test_class, terms: [{ path: 'data.y' }]
end

wait_for_index(index_x[:ref], index_y[:ref])
#wait_for_index(index_x[:ref], index_y[:ref])

@test_by_x = index_x[:ref]
@test_by_y = index_y[:ref]
Expand Down Expand Up @@ -450,7 +450,7 @@ def test_method
over_z = client.query do
create ref('indexes'), name: 'query_over_z', source: @test_class, values: [{ path: 'data.z' }]
end
wait_for_index(over_z[:ref])
#wait_for_index(over_z[:ref])
@test_over_z = over_z[:ref]

@refs = []
Expand Down

0 comments on commit e433864

Please sign in to comment.