openwisp / openwisp-controller

Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
https://openwisp.io/docs/dev/controller/
Other
550 stars 173 forks source link

[tests] Fixed flaky test_subnets_exhausted #882

Closed pandafy closed 2 months ago

pandafy commented 2 months ago

The CI build in ansible-openwisp2 was failing due to an issue with a test that mocked the logging.Logger.info method. This method is also used by the Celery workers to report task statuses. The additional logs from Celery were affecting the call_args_list index, causing the CI build to fail.