Skip to content

Commit

Permalink
Add parallelism to new json overlay test
Browse files Browse the repository at this point in the history
  • Loading branch information
algochoi committed Feb 14, 2023
1 parent e8fd1f1 commit 5055091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netdeploy/networkTemplates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5055091

Please sign in to comment.