kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
52 stars 12 forks source link

test: use static time in ietf-routing unit tests #675

Closed rical closed 1 month ago

rical commented 1 month ago

Description

Fix flaky ietf-routing unit tests.

Prior to this patch, there was a unit-test race between Yanger (sysrepo emulator) and cli-pretty, where the local system time could change between crafting the data and printing it. This caused the CLI output to change and the ietf-routing unit test to fail.

Fixes #668

Checklist