Skip to content

Commit

Permalink
Fix flakey schema delete acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo committed May 20, 2021
1 parent 9434018 commit f7ce29a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions google-cloud-pubsub/acceptance/pubsub/schema_test.rb
Expand Up @@ -139,16 +139,5 @@
schema.nil?
end
_(schema).must_be :nil?

wait_for_condition description: "topic deleted schema_name" do
topic = pubsub.topic topic.name
topic.schema_name == "_deleted-schema_"
end
_(topic.schema_name).must_equal "_deleted-schema_"
_(topic.message_encoding).must_equal :BINARY

expect do
pubsub.create_topic topic_name_2, schema_name: schema_name, message_encoding: :binary
end.must_raise Google::Cloud::NotFoundError
end
end

0 comments on commit f7ce29a

Please sign in to comment.