Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      When running the integration tests, we see:

      1. Running tests:

      EEEEEEEE

      Finished tests in 0.001268s, 6310.2132 tests/s, 6310.2132 assertions/s.

      1) Error:
      test_arrays(InteropTest):
      NameError: uninitialized constant InteropTest::ARRAY
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:110:in `test_arrays'

      2) Error:
      test_described(InteropTest):
      NameError: uninitialized constant InteropTest::DESCRIBED
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:96:in `test_described'

      3) Error:
      test_described_array(InteropTest):
      NameError: uninitialized constant InteropTest::ARRAY
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:105:in `test_described_array'

      4) Error:
      test_lists(InteropTest):
      NameError: uninitialized constant InteropTest::LIST
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:118:in `test_lists'

      5) Error:
      test_maps(InteropTest):
      NameError: uninitialized constant InteropTest::MAP
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:125:in `test_maps'

      6) Error:
      test_message(InteropTest):
      NameError: uninitialized constant InteropTest::STRING
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:63:in `test_message'

      7) Error:
      test_primitives(InteropTest):
      NameError: uninitialized constant InteropTest::BOOL
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:69:in `test_primitives'

      8) Error:
      test_strings(InteropTest):
      NameError: uninitialized constant InteropTest::BINARY
      /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:85:in `test_strings'

      8 tests, 8 assertions, 0 failures, 8 errors, 0 skips

        Activity

        Darryl L. Pierce made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 0.5 [ 12324004 ]
        Resolution Fixed [ 1 ]
        Hide
        ASF subversion and git services added a comment -

        Commit 1495479 from Darryl L. Pierce
        [ https://svn.apache.org/r1495479 ]

        PROTON-341: Update the Ruby interop tests.

        Added a new helper function to Data to return an instance of Described.

        Added new helper methods to the interop.rb file for testing Arrays.

        Show
        ASF subversion and git services added a comment - Commit 1495479 from Darryl L. Pierce [ https://svn.apache.org/r1495479 ] PROTON-341 : Update the Ruby interop tests. Added a new helper function to Data to return an instance of Described. Added new helper methods to the interop.rb file for testing Arrays.
        Darryl L. Pierce made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Darryl L. Pierce made changes -
        Field Original Value New Value
        Description When running the integration tests, we see:

        $ ctest -R ruby-unit-test
        Test project /home/mcpierce/Programming/Proton/cmake
            Start 4: ruby-unit-test
        1/1 Test #4: ruby-unit-test ...................***Failed 0.65 sec

        0% tests passed, 1 tests failed out of 1

        Total Test time (real) = 0.66 sec

        The following tests FAILED:
        4 - ruby-unit-test (Failed)
        Errors while running CTest
        When running the integration tests, we see:

        # Running tests:

        EEEEEEEE

        Finished tests in 0.001268s, 6310.2132 tests/s, 6310.2132 assertions/s.

          1) Error:
        test_arrays(InteropTest):
        NameError: uninitialized constant InteropTest::ARRAY
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:110:in `test_arrays'

          2) Error:
        test_described(InteropTest):
        NameError: uninitialized constant InteropTest::DESCRIBED
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:96:in `test_described'

          3) Error:
        test_described_array(InteropTest):
        NameError: uninitialized constant InteropTest::ARRAY
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:105:in `test_described_array'

          4) Error:
        test_lists(InteropTest):
        NameError: uninitialized constant InteropTest::LIST
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:118:in `test_lists'

          5) Error:
        test_maps(InteropTest):
        NameError: uninitialized constant InteropTest::MAP
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:125:in `test_maps'

          6) Error:
        test_message(InteropTest):
        NameError: uninitialized constant InteropTest::STRING
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:63:in `test_message'

          7) Error:
        test_primitives(InteropTest):
        NameError: uninitialized constant InteropTest::BOOL
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:69:in `test_primitives'

          8) Error:
        test_strings(InteropTest):
        NameError: uninitialized constant InteropTest::BINARY
            /home/mcpierce/Programming/Proton/tests/ruby/proton_tests/interop.rb:85:in `test_strings'

        8 tests, 8 assertions, 0 failures, 8 errors, 0 skips
        Darryl L. Pierce created issue -

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development