Skip to content

Commit 91f6922

Browse files
authored
Wait for Red Panda Admin API to be up and running in ready checks (#2061)
1 parent ec7ffa0 commit 91f6922

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Wait for Red Panda Admin API to be up and running in ready checks

framework/components/dockercompose/chip_ingress_set/chip_ingress.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ func New(in *Input) (*Output, error) {
117117
wait.ForListeningPort(DEFAULT_RED_PANDA_KAFKA_PORT).WithPollInterval(100*time.Millisecond),
118118
wait.NewHostPortStrategy(DEFAULT_RED_PANDA_SCHEMA_REGISTRY_PORT).WithPollInterval(100*time.Millisecond),
119119
wait.NewHostPortStrategy(DEFAULT_RED_PANDA_KAFKA_PORT).WithPollInterval(100*time.Millisecond),
120+
wait.ForHTTP("/v1/status/ready").WithPort("9644"), // admin API port
120121
).WithDeadline(2*time.Minute),
121122
).WaitForService(DEFAULT_RED_PANDA_CONSOLE_SERVICE_NAME,
122123
wait.ForAll(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[chip_ingress]
2-
compose_file='../../components/dockercompose/chip_ingress_set/docker-compose.yml'
2+
compose_file='file://../../components/dockercompose/chip_ingress_set/docker-compose.yml'

framework/examples/myproject/smoke_chip_ingress_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type ChipConfig struct {
1717

1818
// use config file: smoke_chip.toml
1919
func TestChipIngressSmoke(t *testing.T) {
20-
// t.Skip("skipping smoke test until we have a way to fetch Chip Ingress image")
20+
t.Skip("skipping smoke test until we have a way to fetch Chip Ingress image")
2121
os.Setenv("CTF_CONFIGS", "smoke_chip.toml")
2222
in, err := framework.Load[ChipConfig](t)
2323
require.NoError(t, err, "failed to load config")
@@ -46,6 +46,7 @@ func TestChipIngressSmoke(t *testing.T) {
4646
})
4747

4848
t.Run("local protos can be registered", func(t *testing.T) {
49+
t.Skip("we can only one run of these nested at a time, because they register the same protos")
4950
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
5051
defer cancel()
5152

0 commit comments

Comments
 (0)