Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8327098

GTest needs larger combination limit

XMLWordPrintable

    • b15

        GHA pre-integration tests have been observed to fail with the following error:
        ```
        ----------System.err:(10/590)----------
        java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [LogSelectionList::combination_limit]
        at GTestWrapper.main(GTestWrapper.java:98)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.Thread.run(Thread.java:1575)

        JavaTest Message: Test threw exception: java.lang.AssertionError
        JavaTest Message: shutting down test
        ```
        which derives from:
        ```
        TEST(LogSelectionList, combination_limit) {
         size_t max_combinations = LogSelectionList::MaxSelections;
         EXPECT_GT(max_combinations, LogTagSet::ntagsets())
          << "Combination limit not sufficient for configuring all available tag sets."
        }
        ```
        We need to increase the value of LogSelectionList::MaxSelections.

              kdnilsen Kelvin Nilsen
              kdnilsen Kelvin Nilsen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: