[JAVA-2625] ServerDescriptionTest failed due to character used for decimal separator Created: 05/Oct/17 Updated: 29/Oct/23 Resolved: 08/Nov/17 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.6.0 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Farès Hassak | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Hello, ServerDescriptionTest.testShortDescription() failed due to character used for decimal separator : expected = roundTripTime=5000.0 ms In my region, locale decimal separator is ',' and not '.'.
More details : I have fixed this issue by using a locale decimal separator instead of '.'
Farès |
| Comments |
| Comment by Githook User [ 08/Nov/17 ] |
|
Author: {'name': 'Farès Hassak', 'username': 'fhassak', 'email': 'fares.hassak@gmail.com'}Message: Branch: master |
| Comment by Farès Hassak [ 16/Oct/17 ] |
|
| Comment by Jeffrey Yemin [ 16/Oct/17 ] |
|
I prefer the alternative solution. Log messages don't need to be localized |
| Comment by Farès Hassak [ 08/Oct/17 ] |
|
An alternative solution is to set the character used for decimal separator. |
| Comment by Farès Hassak [ 06/Oct/17 ] |
| Comment by Ross Lawley [ 06/Oct/17 ] |
|
Hi Farès Hassak, Many thanks for the ticket. We'll look to fix this in the next release. Ross |