Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2213

C++ tests fail with boost 1.67+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 1.9.0
    • c++
    • None

    Description

      Boost 1.67 and later now returns an error when multiple tests are added with the same name (https://www.boost.org/doc/libs/1_67_0/libs/test/doc/html/boost_test/change_log.html).

      This fails for 3 tests:

      CodecTests.cc:
      Test setup error: boost::unit_test::framework::setup_error: test unit with name 'testCodecResolving2<BinaryEncoderResolvingDecoderFactory>_0' registered multiple times

      DataFileTests.cc:
      Test setup error: boost::unit_test::framework::setup_error: test unit with name 'DataFileTest__testReadFull' registered multiple times

      unittest.cc:
      Test setup error: boost::unit_test::framework::setup_error: test unit with name 'T__test' registered multiple times

       

       

      Attachments

        Issue Links

          Activity

            People

              wmatthews William Matthews
              wmatthews William Matthews
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: