tests/llc: Change unrealistic time jump to avoid runtime error under ARM
When running the test under a RaspberryPI4:
+../../../src/llc.cpp:216:29: runtime error: signed integer overflow: 864197544 * 1000 cannot be represented in type 'long int'
864197544 comes from comparing initial insertion time and dequeue time
(test does a big jump in time): 987654321 - 123456777
let's use more realistic time changes, since the current one account for
about 37 years.
Change-Id: I28abc9192e0e7c590bc1c3c88950627cf669ffaf
diff --git a/tests/llc/LlcTest.cpp b/tests/llc/LlcTest.cpp
index d6dd5fb..84164a0 100644
--- a/tests/llc/LlcTest.cpp
+++ b/tests/llc/LlcTest.cpp
@@ -150,9 +150,9 @@
osmo_gettimeofday_override_time = info1.recv_time;
enqueue_data(&queue, "LLC message 1", &info1.expire_time);
- info2.recv_time.tv_sec = 987654321;
+ info2.recv_time.tv_sec = 123458000;
info2.recv_time.tv_usec = 547352;
- info2.expire_time.tv_sec = 987654327;
+ info2.expire_time.tv_sec = 123458006;
info2.expire_time.tv_usec = 867252;
osmo_gettimeofday_override_time = info2.recv_time;
enqueue_data(&queue, "LLC message 2", &info2.expire_time);