-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
TestActionStore is consistently failing on Windows.
For example: https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/7.x/31/pipeline/369
=== RUN TestActionStore
=== RUN TestActionStore/action_returns_empty_when_no_action_is_saved_on_disk
=== RUN TestActionStore/will_discard_silently_unknown_action
=== RUN TestActionStore/can_save_to_disk_known_action_type
TestActionStore/can_save_to_disk_known_action_type: action_store_test.go:75:
Error Trace: action_store_test.go:75
action_store_test.go:29
Error: Received unexpected error:
could not replace target file C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store166669957\config.yml: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store166669957\config.yml.tmp C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store166669957\config.yml: Access is denied.
Test: TestActionStore/can_save_to_disk_known_action_type
=== RUN TestActionStore/when_we_ACK_we_save_to_disk
TestActionStore/when_we_ACK_we_save_to_disk: action_store_test.go:101:
Error Trace: action_store_test.go:101
action_store_test.go:29
Error: Received unexpected error:
could not replace target file C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store041062432\config.yml: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store041062432\config.yml.tmp C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store041062432\config.yml: Access is denied.
Test: TestActionStore/when_we_ACK_we_save_to_disk
--- FAIL: TestActionStore (0.04s)