Uploaded image for project: 'Infrastructure Automation Content'
  1. Infrastructure Automation Content
  2. IAC-914 Ruby 2.7 testing for modules
  3. IAC-1138

puppetlabs-java: 'scanf' fails to load whilst running spec tests with Ruby 2.7

    XMLWordPrintable

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Won't Do
    • java
    • None
    • Ruby: 2.7.1

      OS: macOS X 10.15.6

    • Hide

       AC-1: Unit tests for puppetlabs-java work on Ruby 2.7

      Show
       AC-1:  Unit tests for puppetlabs-java work on Ruby 2.7
    • Needs Assessment

    Description

      When running the spec tests on the puppetlabs-java module using Ruby 2.7, two tests fail due to scanf failing to load:

      rspec ./spec/defines/sap_spec.rb:93 # java::sap with CentOS 64-bit when installing multiple versions is expected to compile into a catalogue without dependency cycles
      rspec ./spec/defines/sap_spec.rb:191 # java::sap with Ubuntu 64-bit when installing multiple versions is expected to compile into a catalogue without dependency cycles

      This does not occur on Ruby 2.6.

      Attachments

        Issue Links

          Activity

            People

              ciaran.mccrisken Ciaran McCrisken
              ciaran.mccrisken Ciaran McCrisken
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support