diff options
author | metagn <metagngn@gmail.com> | 2024-09-22 14:57:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-22 13:57:03 +0200 |
commit | a55c15c651b805c5eca4475f9845a57adf6cddef (patch) | |
tree | 4116fb04b4b2fe124b2927114f5260093932aa94 /compiler | |
parent | 7da2ffb7513192ccfd29f62eed613298b3a6f6f4 (diff) | |
download | Nim-a55c15c651b805c5eca4475f9845a57adf6cddef.tar.gz |
fix tmarshalsegfault depending on execution time (#24153)
Added in #24119, the test checks if every string produced is equal, but the value of the strings depend on the `now()` timestamp of when they were produced. 30 of them are produced in a for loop in sequence with each other, but the first one is set after the data is marshalled into and unmarshalled from a file. This means the timestamp strings can differ depending on the execution time and causes this test to be flaky. Instead we just make 2 strings from the same data and check if they equal each other.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions