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 d022742 commit 4e01df8Copy full SHA for 4e01df8
cmd/bbs/main_suite_test.go
@@ -117,8 +117,6 @@ var _ = BeforeEach(func() {
117
fixturesPath := "fixtures"
118
119
metronCAFile = path.Join(fixturesPath, "metron", "CA.crt")
120
- metronClientCertFile := path.Join(fixturesPath, "metron", "client.crt")
121
- metronClientKeyFile := path.Join(fixturesPath, "metron", "client.key")
122
metronServerCertFile = path.Join(fixturesPath, "metron", "metron.crt")
123
metronServerKeyFile = path.Join(fixturesPath, "metron", "metron.key")
124
@@ -223,9 +221,9 @@ var _ = BeforeEach(func() {
223
221
BatchFlushInterval: 10 * time.Millisecond,
224
222
BatchMaxSize: 1,
225
APIPort: metricsPort,
226
- CACertPath: metronCAFile,
227
- KeyPath: metronClientKeyFile,
228
- CertPath: metronClientCertFile,
+ CACertPath: path.Join(fixturesPath, "metron", "CA.crt"),
+ CertPath: path.Join(fixturesPath, "metron", "client.crt"),
+ KeyPath: path.Join(fixturesPath, "metron", "client.key"),
229
},
230
}
231
test_helpers/metronserver_setup.go
0 commit comments