We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbd9cf commit a1d6e30Copy full SHA for a1d6e30
install/installer/cmd/render_test.go
@@ -19,7 +19,6 @@ var (
19
func init() {
20
// Ensure that the randomisation always returns the same values
21
rootOpts.SeedValue = 42
22
- setSeed()
23
}
24
25
func TestMain(m *testing.M) {
@@ -45,6 +44,10 @@ func TestRender(t *testing.T) {
45
44
46
for _, testCase := range testCases {
47
t.Run(testCase.Name, func(t *testing.T) {
+
48
+ // reset seed for each test case
49
+ setSeed()
50
51
rootOpts.VersionMF = "testdata/render/versions.yaml"
52
renderOpts.ConfigFN = "testdata/render/" + testCase.Name + "/config.yaml"
53
goldenPath := "testdata/render/" + testCase.Name + "/output.golden"
0 commit comments