-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
What happens
When running api/AcmeAccount tests on a fresh proxmox (v8.4.14) install, the tests will fail, the logs are following :
--- FAIL: Test_Acme_Account_Is_Added (0.08s)
panic: interface conversion: interface {} is nil, not []interface {} [recovered, repanicked]
goroutine 48 [running]:
testing.tRunner.func1.2({0x75cfc0, 0xc000252b10})
/usr/lib/go/src/testing/testing.go:1872 +0x237
testing.tRunner.func1()
/usr/lib/go/src/testing/testing.go:1875 +0x35b
panic({0x75cfc0?, 0xc000252b10?})
/usr/lib/go/src/runtime/panic.go:783 +0x132
github.com/Telmate/proxmox-api-go/proxmox.NewConfigAcmeAccountFromApi({0x84ad58, 0xac8140}, {0x7bf695, 0x4}, 0xc00022e380)
/home/ndacremont/Documents/explore/proxmox-api-go/proxmox/config__acme__account.go:77 +0x4bb
github.com/Telmate/proxmox-api-go/test/api/AcmeAccount_test.Test_Acme_Account_Is_Added(0xc000268700)
/home/ndacremont/Documents/explore/proxmox-api-go/test/api/AcmeAccount/acme_account_create_remove_test.go:38 +0x70
testing.tRunner(0xc000268700, 0x7e0e28)
/usr/lib/go/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 1
/usr/lib/go/src/testing/testing.go:1997 +0x465
FAIL github.com/Telmate/proxmox-api-go/test/api/AcmeAccount 4.821s
Expected
I'm not familiar with AcmeAccount and proxmox, however if the fail is due to misconfiguration, I think it should be documented to run the tests.
Otherwise, there is a high chance that this is a bug
I might try to fix it sooner or later
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels