summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralgochoi <86622919+algochoi@users.noreply.github.com>2023-02-14 15:50:46 -0500
committeralgochoi <86622919+algochoi@users.noreply.github.com>2023-02-14 15:50:46 -0500
commit505509117e80b71d6ac40726b2b64a96ea5d6936 (patch)
tree08403e6498b3e72eccd05db04b9d593d9da74ae2
parente8fd1f1d2f731bfb8744ea6a0b7d1b04958a7598 (diff)
Add parallelism to new json overlay testparallelize_netdeploy
-rw-r--r--netdeploy/networkTemplates_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/netdeploy/networkTemplates_test.go b/netdeploy/networkTemplates_test.go
index b37472b2e..a7990a9cf 100644
--- a/netdeploy/networkTemplates_test.go
+++ b/netdeploy/networkTemplates_test.go
@@ -110,6 +110,8 @@ type overlayTestStruct struct {
// TestJsonOverlay ensures that encoding/json will only clobber fields present in the json and leave other fields unchanged
func TestJsonOverlay(t *testing.T) {
partitiontest.PartitionTest(t)
+ t.Parallel()
+
before := overlayTestStruct{A: "one", B: "two"}
setB := "{\"B\":\"other\"}"
dec := json.NewDecoder(strings.NewReader(setB))