nulogy_message_bus_producer 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,9 +14,7 @@ RSpec.describe NulogyMessageBusProducer::RepopulateReplicationSlots do
14
14
  cleanup_everything
15
15
  end
16
16
 
17
- # TODO: This test is incredibly flakey.
18
- # It rarely works in CI, and ocassionally works locally.
19
- xit "generates events" do
17
+ it "generates events", skip: flakey_in_ci do
20
18
  Kafka.create_topic(topic_name)
21
19
  consumer = Kafka.setup_kafka_consumer(topic_name)
22
20
 
data/spec/spec_helper.rb CHANGED
@@ -56,4 +56,5 @@ RSpec.configure do |config|
56
56
  end
57
57
 
58
58
  config.include(SubscriptionHelpers)
59
+ config.extend(Skip)
59
60
  end
@@ -0,0 +1,9 @@
1
+ module Skip
2
+ def flakey_in_ci
3
+ if ENV.fetch("CI", false)
4
+ "This spec is terribly flakey in CI, so we only run it locally"
5
+ else
6
+ false
7
+ end
8
+ end
9
+ end
@@ -40,8 +40,6 @@ module NulogyMessageBusProducer
40
40
  end
41
41
 
42
42
  class TestSchema < GraphQL::Schema
43
- use GraphQL::Execution::Interpreter
44
- use GraphQL::Analysis::AST
45
43
  use NulogyMessageBusProducer::Subscriptions::PostgresTransport
46
44
 
47
45
  query TestQuery
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nulogy_message_bus_producer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nulogy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-15 00:00:00.000000000 Z
11
+ date: 2021-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.11.7
19
+ version: 1.12.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.11.7
26
+ version: 1.12.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.7.0.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: listen
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.5'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: pg
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -323,6 +337,7 @@ files:
323
337
  - spec/support/kafka.rb
324
338
  - spec/support/kafka_connect.rb
325
339
  - spec/support/shared_examples/subscription_validations.rb
340
+ - spec/support/skip.rb
326
341
  - spec/support/spec_utils.rb
327
342
  - spec/support/sql_helpers.rb
328
343
  - spec/support/subscription_helpers.rb
@@ -424,6 +439,7 @@ test_files:
424
439
  - spec/support/kafka.rb
425
440
  - spec/support/kafka_connect.rb
426
441
  - spec/support/shared_examples/subscription_validations.rb
442
+ - spec/support/skip.rb
427
443
  - spec/support/spec_utils.rb
428
444
  - spec/support/sql_helpers.rb
429
445
  - spec/support/subscription_helpers.rb