Skip to content

Commit

Permalink
fix test_runner_manager_openstack integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Sep 19, 2024
1 parent 24437d3 commit 5bf027f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/integration/test_runner_manager_openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from github_runner_manager.openstack_cloud.openstack_runner_manager import (
OpenStackCloudConfig,
OpenStackRunnerManager,
OpenStackServerConfig,
OpenStackServerConfig, OpenStackRunnerManagerConfig,
)
from github_runner_manager.types_.github import GitHubPath, parse_github_path
from openstack.connection import Connection as OpenstackConnection
Expand Down Expand Up @@ -133,8 +133,18 @@ async def openstack_runner_manager_fixture(
ssh_debug_connections=None,
repo_policy_compliance=None,
)

openstack_runner_manager_config = OpenStackRunnerManagerConfig(
name=app_name,
prefix=f"{app_name}-0",
cloud_config=cloud_config,
server_config=server_config,
runner_config=runner_config,
service_config=service_config,
)

return OpenStackRunnerManager(
app_name, f"{app_name}-0", cloud_config, server_config, runner_config, service_config
config=openstack_runner_manager_config,
)


Expand Down

0 comments on commit 5bf027f

Please sign in to comment.