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

Tests needs to be updated for the new testng, else get error msg "Data provider mismatch"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      This happens to testng 6.9.7 and newer.
      With testng 6.9.5, tests still work fine and pass.


      Due to Update jtreg to newer version of TestNG ( CODETOOLS-7901639 ), there will be some tests fail with below message:
      "org.testng.internal.reflect.MethodMatcherException:
      Data provider mismatch "

      Failed tests:
      java/lang/ Package/GetPackages.jtr
      java/lang/String/CompactString/IndexOf.jtr
      java/time/tck/java/time/TCKPeriod.jtr
      java/time/tck/java/time/format/TCKLocalizedFieldParser.jtr
      java/time/tck/java/time/temporal/TCKChronoField.jtr
      java/time/tck/java/time/temporal/TCKChronoUnit.jtr
      java/time/test/java/time/format/TestZoneOffsetParser.jtr
      java/time/tck/java/time/format/TCKDateTimeParseResolver.jtr
      java/time/tck/java/time/TCKDayOfWeek.jtr
      java/time/tck/java/time/TCKMonth.jtr
      java/time/tck/java/time/format/TCKDateTimeFormatters.jtr
      java/time/tck/java/time/temporal/TCKIsoFields.jtr
      java/time/test/java/time/chrono/TestUmmAlQuraChronology.jtr
      java/time/test/java/time/format/TestNumberParser.jtr
      java/time/test/java/time/temporal/TestChronoUnit.jtr
      java/time/tck/java/time/TCKInstant.jtr
      java/time/tck/java/time/TCKZonedDateTime.jtr
      java/time/tck/java/time/TCKLocalDate.jtr
      java/time/tck/java/time/TCKLocalDateTime.jtr
      java/time/tck/java/time/TCKLocalTime.jtr
      java/time/tck/java/time/TCKOffsetTime.jtr
      java/time/tck/java/time/TCKDuration.jtr
      java/time/tck/java/time/TCKOffsetDateTime.jtr
      java/time/tck/java/time/format/TCKInstantPrinterParser.jtr
      java/time/tck/java/time/TCKYear.jtr
      java/time/tck/java/time/TCKYearMonth.jtr
      java/time/tck/java/time/temporal/TCKJulianFields.jtr
      java/time/test/java/time/format/TestNumberPrinter.jtr
      java/time/test/java/time/temporal/TestDateTimeValueRange.jtr

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mli Hamlin Li
              Reporter:
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: