You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/27 09:47:17 UTC

[GitHub] [pulsar] eolivelli opened a new issue #8730: [TEST] OverloadShedderTest fails on machines with non English locale

eolivelli opened a new issue #8730:
URL: https://github.com/apache/pulsar/issues/8730


   **Describe the bug**
   The test is failing due to unexpected formatting of decimal separators.
   
   
   ```
   [ERROR] testPrintResourceUsage(org.apache.pulsar.broker.loadbalance.impl.OverloadShedderTest)  Time elapsed: 0.04 s  <<< FAILURE!
   java.lang.AssertionError: expected [cpu: 10.00%, memory: 50.00%, directMemory: 90.00%, bandwidthIn: 30.00%, bandwidthOut: 20.00%] but found [cpu: 10,00%, memory: 50,00%, directMemory: 90,00%, bandwidthIn: 30,00%, bandwidthOut: 20,00%]
   	at org.testng.Assert.fail(Assert.java:99)
   	at org.testng.Assert.failNotEquals(Assert.java:1037)
   	at org.testng.Assert.assertEqualsImpl(Assert.java:140)
   	at org.testng.Assert.assertEquals(Assert.java:122)
   	at org.testng.Assert.assertEquals(Assert.java:629)
   	at org.testng.Assert.assertEquals(Assert.java:639)
   	at org.apache.pulsar.broker.loadbalance.impl.OverloadShedderTest.testPrintResourceUsage(OverloadShedderTest.java:202)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
   	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
   	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   
   **To Reproduce**
   Run the tests on a machine with Italian locale
   
   **Expected behavior**
   The test should pass
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] sijie closed issue #8730: [TEST] OverloadShedderTest fails on machines with non English locale

Posted by GitBox <gi...@apache.org>.
sijie closed issue #8730:
URL: https://github.com/apache/pulsar/issues/8730


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org