Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1485

org.wildfly.clustering.web.infinispan.CacheMutatorTestCase failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Alpha2
    • 8.0.0.Alpha2
    • Clustering
    • None

    Description

      -------------------------------------------------------------------------------
      Test set: org.wildfly.clustering.web.infinispan.CacheMutatorTestCase
      -------------------------------------------------------------------------------
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.054 sec <<< FAILURE!
      isMutable(org.wildfly.clustering.web.infinispan.CacheMutatorTestCase) Time elapsed: 0.034 sec <<< ERROR!
      java.lang.IllegalArgumentException
      at java.util.Currency.getInstance(Currency.java:361)
      at org.wildfly.clustering.web.infinispan.CacheMutatorTestCase.isMutable(CacheMutatorTestCase.java:71)
      assertFalse(CacheMutator.isMutable(Currency.getInstance(Locale.getDefault())));

      The default locale can be defined by different things. In my case default locale is 'en'.
      Currency.getInstance does not like this Locale as this seems not to be linked to a country.

      I think it's better to use a defined Locale here like Locale.GERMANY.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            franklangelage Frank Langelage (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: