Skip to content

add ctx to tests

add ctx to tests #18

Triggered via push July 15, 2024 16:38
Status Failure
Total duration 4m 54s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
gosec: govcd/api_vcd_test.go#L1019
not enough arguments in call to task.WaitTaskCompletion
gosec: govcd/vapp_network_test.go#L187
too many arguments in call to spawnVM
gosec: govcd/vapp_network_test.go#L190
too many arguments in call to spawnVM
gosec: govcd/vapp_network_test.go#L377
not enough arguments in call to vcd.vdc.GetOrgVdcNetworkByName
gosec: govcd/vapp_network_test.go#L379
not enough arguments in call to network.Delete
gosec: govcd/vapp_network_test.go#L381
undefined: context
gosec: govcd/vapp_test.go#L466
undefined: fctx
gosec: govcd/vapp_test.go#L466
undefined: alse
gosec: govcd/vapp_test.go#L466
too many arguments in call to vcd.org.GetCatalogByName
gosec: govcd/vapp_test.go#L557
not enough arguments in call to vcd.vdc.GetOrgVdcNetworkByName
gosec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
gosec
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/