Skip to content

Commit

Permalink
fix: set apiServerOptions.configFile=""
Browse files Browse the repository at this point in the history
Need to set apiServerOptions.configFile to empty string as otherwise the
build pipeline is failing

Closes: hyperledger-cacti#1619
Signed-off-by: Michael Courtin <michael.courtin@accenture.com>
  • Loading branch information
m-courtin authored and petermetz committed Dec 15, 2021
1 parent e760e04 commit 5c5a1e1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ describe("api-server shutdown-hook configuration tests", () => {
it("enables the shutdown hook based on schema-default", async () => {
const expectedResult = true;
const apiServerOptions = await configService.newExampleConfig();
apiServerOptions.configFile = "";

const config = await configService.newExampleConfigConvict(
apiServerOptions,
);
Expand All @@ -36,6 +38,7 @@ describe("api-server shutdown-hook configuration tests", () => {

// disable shutdown hook
apiServerOptions.enableShutdownHook = false;
apiServerOptions.configFile = "";

const config = await configService.newExampleConfigConvict(
apiServerOptions,
Expand All @@ -62,6 +65,7 @@ describe("api-server shutdown-hook configuration tests", () => {

// disable shutdown hook
apiServerOptions.enableShutdownHook = true;
apiServerOptions.configFile = "";

const config = await configService.newExampleConfigConvict(
apiServerOptions,
Expand Down

0 comments on commit 5c5a1e1

Please sign in to comment.