Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2118

connect_config_test/test_invalid fails with jsoncpp < 1.7.0

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.29.0
    • proton-c-0.30.0
    • cpp-binding
    • None
    • Patch

    Description

        18: Test command: /usr/bin/python "/root/rpmbuild/BUILD/qpid-proton-0.29.0/scripts/env.py" "--" "PN_SASL_CONFIG_PATH=/root/rpmbuild/BUILD/qpid-proton-0.29.0/cpp/testdata/sasl-conf" "/root/rpmbuild/BUILD/qpid-proton-0.29.0/cpp/connect_config_test"
        18: Test timeout computed to be: 1500
        18: TEST: test_default_file()
        18: TEST: test_addr()
        18: TEST: test_invalid()
        18: Error from reader: * Line 1, Column 2
        18:   Missing '}' or object member name
        18: FAIL test_invalid()
        18: /root/rpmbuild/BUILD/qpid-proton-0.29.0/cpp/src/connect_config_test.cpp:124: failed ASSERT_SUBSTRING(("Missing '}'"), e.what()) 'Missing '}'' not found in 'connection configuration: reader error'
        18: TEST: test_default_connect().run()
        18: TEST: test_almost_default_connect().run()
        18: TEST: test_host_user_pass().run()
        18: TEST: test_tls().run()
        18: TEST: test_tls_default_fail().run()
        18: TEST: test_tls_external().run()
        18: TEST: test_tls_plain().run()
        12/15 Test #18: cpp-connect_config_test ..........***Failed    0.89 sec
      

      Seems to be caused by version of jsoncpp older than this commit which went to 1.7.0

      https://github.com/open-source-parsers/jsoncpp/commit/6b10ce8c0d07ea07861e82f65f17d9fd6abd658d

      Attachments

        Issue Links

          Activity

            People

              jdanek Jiri Daněk
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: