Commit 05a7d93
committed
Prevent floating number precision issue
Some test runs would cause runid to end up with a slightly differing values
which caused the tests to fail.
An example of failing test is when $runid was observed to be 153.425536363056,
but in the database it is stored as '153.42553636305601'. This caused the
Attribute to not be found causing some of the tests to fail.
I see no need for a long fraction to be used, so truncate it.1 parent 6b299b5 commit 05a7d93
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments