Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[submodule "providers/openfeature-provider-flagd/test-harness"]
path = providers/openfeature-provider-flagd/openfeature/test-harness
url = [email protected]:open-feature/flagd-testbed.git
branch = v0.5.18
[submodule "providers/openfeature-provider-flagd/spec"]
path = providers/openfeature-provider-flagd/openfeature/spec
url = https://github.com/open-feature/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import time
from pathlib import Path

import grpc
from grpc_health.v1 import health_pb2, health_pb2_grpc
Expand All @@ -11,11 +12,13 @@
class FlagdContainer(DockerContainer):
def __init__(
self,
image: str = "ghcr.io/open-feature/flagd-testbed:v0.5.15",
image: str = "ghcr.io/open-feature/flagd-testbed",
port: int = 8013,
**kwargs,
) -> None:
super().__init__(image, **kwargs)
path = Path(__file__).parents[2] / "openfeature/test-harness/version.txt"
data = path.read_text().rstrip()
super().__init__(f"{image}:v{data}", **kwargs)
self.port = port
self.with_exposed_ports(self.port, HEALTH_CHECK)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def port():

@pytest.fixture(autouse=True, scope="module")
def image():
return "ghcr.io/open-feature/flagd-testbed:v0.5.13"
return "ghcr.io/open-feature/flagd-testbed"


scenarios(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def port():

@pytest.fixture(autouse=True, scope="module")
def image():
return "ghcr.io/open-feature/flagd-testbed-unstable:v0.5.13"
return "ghcr.io/open-feature/flagd-testbed-unstable"


scenarios(
Expand Down
Loading