Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixup: dont use sync-testbed
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Apr 21, 2025
commit f5145b2fe43bb6791a1a8a9cbcf23a42f8ac7fcb
17 changes: 0 additions & 17 deletions src/OpenFeature.Contrib.Providers.Flagd/docker-compose.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public class FlagdSyncTestBedContainer
public FlagdSyncTestBedContainer()
{
Container = new ContainerBuilder()
.WithImage("ghcr.io/open-feature/sync-testbed:v0.5.6")
.WithPortBinding(9090, true)
.WithImage("ghcr.io/open-feature/flagd-testbed:v0.5.21")
.WithPortBinding(8015, true)
.Build();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class EvaluationStepDefinitionsProcess : EvaluationStepDefinitionsBase
static EvaluationStepDefinitionsProcess()
{
var host = TestHooks.FlagdSyncTestBed.Container.Hostname;
var port = TestHooks.FlagdSyncTestBed.Container.GetMappedPublicPort(9090);
var port = TestHooks.FlagdSyncTestBed.Container.GetMappedPublicPort(8015);

var flagdProvider = new FlagdProvider(
FlagdConfig.Builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class FlagdStepDefinitionsProcess : FlagdStepDefinitionsBase
static FlagdStepDefinitionsProcess()
{
var host = TestHooks.FlagdSyncTestBed.Container.Hostname;
var port = TestHooks.FlagdSyncTestBed.Container.GetMappedPublicPort(9090);
var port = TestHooks.FlagdSyncTestBed.Container.GetMappedPublicPort(8015);

var flagdProvider = new FlagdProvider(
FlagdConfig.Builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace OpenFeature.Contrib.Providers.Flagd.E2e.RpcTest
{
public class FlagdTestBedContainer
public class FlagdRpcTestBedContainer
{
public IContainer Container { get; }

public FlagdTestBedContainer()
public FlagdRpcTestBedContainer()
{
Container = new ContainerBuilder()
.WithImage("ghcr.io/open-feature/flagd-testbed:v0.5.21")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace OpenFeature.Contrib.Providers.Flagd.E2e.RpcTest.Steps
[Binding]
public class TestHooks
{
public static FlagdTestBedContainer FlagdTestBed { get; private set; }
public static FlagdRpcTestBedContainer FlagdTestBed { get; private set; }

[BeforeTestRun]
public static async Task StartContainerAsync()
{
FlagdTestBed = new FlagdTestBedContainer();
FlagdTestBed = new FlagdRpcTestBedContainer();

await FlagdTestBed.Container.StartAsync();
}
Expand Down