Skip to content

Commit 4e01df8

Browse files
kart2bcameowlia
authored andcommitted
test fixtures module
1 parent d022742 commit 4e01df8

File tree

2 files changed

+3
-59
lines changed

2 files changed

+3
-59
lines changed

cmd/bbs/main_suite_test.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ var _ = BeforeEach(func() {
117117
fixturesPath := "fixtures"
118118

119119
metronCAFile = path.Join(fixturesPath, "metron", "CA.crt")
120-
metronClientCertFile := path.Join(fixturesPath, "metron", "client.crt")
121-
metronClientKeyFile := path.Join(fixturesPath, "metron", "client.key")
122120
metronServerCertFile = path.Join(fixturesPath, "metron", "metron.crt")
123121
metronServerKeyFile = path.Join(fixturesPath, "metron", "metron.key")
124122

@@ -223,9 +221,9 @@ var _ = BeforeEach(func() {
223221
BatchFlushInterval: 10 * time.Millisecond,
224222
BatchMaxSize: 1,
225223
APIPort: metricsPort,
226-
CACertPath: metronCAFile,
227-
KeyPath: metronClientKeyFile,
228-
CertPath: metronClientCertFile,
224+
CACertPath: path.Join(fixturesPath, "metron", "CA.crt"),
225+
CertPath: path.Join(fixturesPath, "metron", "client.crt"),
226+
KeyPath: path.Join(fixturesPath, "metron", "client.key"),
229227
},
230228
}
231229

test_helpers/metronserver_setup.go

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)