Commit 112ff41
committed
Create random durations with positive nanoseconds
Previously, test code that generated random durations could create a
duration with negative amount of nanoseconds. Such duration is now
normalized by the database so that nanoseconds value is always in
range from 0 to 999_999_999.
This commit makes tests only create random durations with nanoseconds
in that range. Otherwise some test assertions fail because they expect
non-normalized value to be returned back.1 parent 05c451a commit 112ff41
File tree
1 file changed
+1
-1
lines changed- driver/src/test/java/org/neo4j/driver/v1/util
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments