Pod clocks should be synced
Type
-
Feature Request -
Bug Report
Priority
-
High -
Medium -
Low
Feature Request
Why is this change needed?
Current behavior
Expected behavior
Bug Report
Breaking
-
YES -
NO
Attached Logs?
-
YES -
NO
ContainerLog
| where TimeGenerated >= datetime(10/29/2020, 1:05)
| where LogEntry contains "sending out notification to endpoint"
| where LogEntry !contains "swagger"
| where LogEntry !contains "200"
| where LogEntry contains "correlation"
| where LogEntry !contains "actuator/health"
| where LogEntry !contains "ResourceHttpRequestHandler"
| project TimeGenerated, LogEntry
| order by TimeGenerated desc
| limit 50
AI can be queried using the above query.
Current behavior
As a part of the integration tests, the Notification service sends a JWT token with an expiry window of 5 minutes. The JWT is verified by the subscriber service (Register mimicking the subscriber in this case). This verification is failing often. The subscriber service system clocks are not in sync. This makes the tests flaky. The tests are failing.
Expected behavior
The clocks of the PODS should sync.
Steps to reproduce
Integration tests can be run multiple times.
Other information
Found an interesting read here .