• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / d7ce1bf9-25b8-4b3e-b9dd-43f9a26f2d96

17 Oct 2025 05:51PM UTC coverage: 91.054%. Remained the same
d7ce1bf9-25b8-4b3e-b9dd-43f9a26f2d96

Pull #2055

circleci

jrgriffiniii
- Ensuring that `parallelism` is set to 4
- Separating `system` RSpec spec suites in the CI build
- Using an `inconsistent` RSpec tag to mark inconsistently failing tests
- Ensuring that CI does not run for `inconsistent` tests
Pull Request #2055: Ensuring that `parallelism` is set to 4 for CircleCI and separates `system` and inconsistently-failing tests into separate CI jobs

2738 of 3007 relevant lines covered (91.05%)

380.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/models/mediaflux/iterator_destroy_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
4✔
3
  class IteratorDestroyRequest < Request
4✔
4
    # Constructor
5
    # @param session_token [String] the API token for the authenticated session
6
    # @iterator [Int] The iterator to destroy (This is the value returned by QueryRequest)
7
    def initialize(session_token:, iterator:)
4✔
8
      super(session_token: session_token)
38✔
9
      @iterator = iterator
38✔
10
    end
11

12
    # Specifies the Mediaflux service to use when running a query
13
    # @return [String]
14
    def self.service
4✔
15
      "asset.query.iterator.destroy"
76✔
16
    end
17

18
    # Returns empty string if iterator was destroyed, error message otherwise.
19
    # Notice that once have run through an iterator Mediaflux destroys it automatically
20
    # so it is possible to get an error indicating that an iterator does not exist if
21
    # Mediaflux deleted it on its own.
22
    def result
4✔
23
      xml = response_xml
1✔
24
      xml.xpath("/response/reply['error']").text
1✔
25
    end
26

27
    private
4✔
28

29
      def build_http_request_body(name:)
4✔
30
        super do |xml|
76✔
31
          xml.args do
76✔
32
            xml.id @iterator
76✔
33
          end
34
        end
35
      end
36
  end
37
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc