github.com/facebookincubator/ntp/protocol/ntpshm
--- FAIL: Test_NTPSHMStruct (0.00s)
ntpshm_test.go:45:
Error Trace: ntpshm_test.go:45
Error: Not equal:
expected: 96
actual : 88
Test: Test_NTPSHMStruct
ntpshm_test.go:48:
Error Trace: ntpshm_test.go:48
Error: Not equal:
expected: ntpshm.NTPSHM{Mode:1, Count:18668, ClockTimeStampSec:1615562094, ClockTimeStampUSec:892026, ReceiveTimeStampSec:1615562056, ReceiveTimeStampUSec:457385, Leap:0, Precision:-30, Nsamples:0, Valid:0, ClockTimeStampNSec:892026694, ReceiveTimeStampNSec:457385010, Dummy:[8]int32{0, 0, 0, 0, 0, 0, 0, 0}}
actual : ntpshm.NTPSHM{Mode:1, Count:18668, ClockTimeStampSec:1615562094, ClockTimeStampUSec:892026, ReceiveTimeStampSec:6938786195178520576, ReceiveTimeStampUSec:0, Leap:457385, Precision:0, Nsamples:-30, Valid:0, ClockTimeStampNSec:0, ReceiveTimeStampNSec:892026694, Dummy:[8]int32{457385010, 0, 0, 0, 0, 0, 0, 0}}
Diff:
--- Expected
+++ Actual
@@ -5,12 +5,12 @@
ClockTimeStampUSec: (int32) 892026,
- ReceiveTimeStampSec: (int64) 1615562056,
- ReceiveTimeStampUSec: (int32) 457385,
- Leap: (int32) 0,
- Precision: (int32) -30,
- Nsamples: (int32) 0,
+ ReceiveTimeStampSec: (int64) 6938786195178520576,
+ ReceiveTimeStampUSec: (int32) 0,
+ Leap: (int32) 457385,
+ Precision: (int32) 0,
+ Nsamples: (int32) -30,
Valid: (int32) 0,
- ClockTimeStampNSec: (int32) 892026694,
- ReceiveTimeStampNSec: (int32) 457385010,
+ ClockTimeStampNSec: (int32) 0,
+ ReceiveTimeStampNSec: (int32) 892026694,
Dummy: ([8]int32) (len=8) {
- (int32) 0,
+ (int32) 457385010,
(int32) 0,
Test: Test_NTPSHMStruct
ntpshm_test.go:50:
Error Trace: ntpshm_test.go:50
Error: Should be true
Test: Test_NTPSHMStruct
ntpshm_test.go:51:
Error Trace: ntpshm_test.go:51
Error: Should be true
Test: Test_NTPSHMStruct
FAIL
exit status 1
FAIL github.com/facebookincubator/ntp/protocol/ntpshm 0.007s