Skip to content

Commit

Permalink
connectors-ci: fix mounted secrets path (#25871)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed May 6, 2023
1 parent 99fa4b1 commit 7a61bf2
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ async def _run(self, connector_under_test: Container) -> StepResult:
Returns:
StepResult: Failure or success of the unit tests with stdout and stdout.
"""
connector_under_test_with_secrets = connector_under_test.with_directory(
f"{self.context.connector.code_directory}/secrets", self.context.secrets_dir
)
connector_under_test_with_secrets = connector_under_test.with_directory("secrets", self.context.secrets_dir)
return await self._run_tests_in_directory(connector_under_test_with_secrets, "unit_tests")


Expand All @@ -101,9 +99,7 @@ async def _run(self, connector_under_test: Container) -> StepResult:
Returns:
StepResult: Failure or success of the integration tests with stdout and stdout.
"""
connector_under_test_with_secrets = connector_under_test.with_directory(
f"{self.context.connector.code_directory}/secrets", self.context.secrets_dir
)
connector_under_test_with_secrets = connector_under_test.with_directory("secrets", self.context.secrets_dir)

return await self._run_tests_in_directory(connector_under_test_with_secrets, "integration_tests")

Expand Down

0 comments on commit 7a61bf2

Please sign in to comment.