mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
Disable parallel test for TestUpstreamConfig_SetupBootstrapIP
There's a bug in wmi library which causes race condition when getting wmi instance manager concurrently. The new tests for setup bootstrap ip concurrently thus failed unexpectedly. There's going to be a fix sent to the upstream, in the meantime, disable the parallel test temporary. See: https://github.com/microsoft/wmi/issues/165
This commit is contained in:
committed by
Cuong Manh Le
parent
c06c8aa859
commit
d1ea1ba08c
@@ -34,7 +34,8 @@ func TestUpstreamConfig_SetupBootstrapIP(t *testing.T) {
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
// Enable parallel tests once https://github.com/microsoft/wmi/issues/165 fixed.
|
||||
// t.Parallel()
|
||||
tc.uc.Init()
|
||||
tc.uc.SetupBootstrapIP()
|
||||
if len(tc.uc.bootstrapIPs) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user