Skip to content

Commit

Permalink
fix ci registry failure
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <xxchan22f@gmail.com>
  • Loading branch information
xxchan committed Jun 19, 2024
1 parent 75cfe7f commit 7fe9874
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
11 changes: 0 additions & 11 deletions e2e_test/source_inline/kafka/avro/alter_source.slt
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ echo '{"type":"record","name":"Root","fields":[{"name":"bar","type":"int","defau
system ok
echo '{"foo":"ABC", "bar":1}' | rpk topic produce --schema-id=topic avro_alter_source_test

sleep 5s

system ok
rpk topic consume avro_alter_source_test --offset :end | jq .value
----
"\u0000\u0000\u0000\u0000\u0010\u0002\u0006ABC"


query ?
select * from s
----
Expand All @@ -67,9 +59,6 @@ ABC 1
statement ok
create materialized view mv as select * from s;


sleep 2s

query ??
select * from mv
----
Expand Down
10 changes: 3 additions & 7 deletions src/risedevtool/src/risedev_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,9 @@ pub fn generate_risedev_env(services: &Vec<ServiceConfig>) -> String {
writeln!(env, r#"RPK_BROKERS="{brokers}""#).unwrap();
}
ServiceConfig::SchemaRegistry(c) => {
let address = &c.address;
let port = &c.port;
writeln!(
env,
r#"RISEDEV_SCHEMA_REGISTRY_URL="http://{address}:{port}""#,
)
.unwrap();
let url = format!("http://{}:{}", c.address, c.port);
writeln!(env, r#"RISEDEV_SCHEMA_REGISTRY_URL="{url}""#,).unwrap();
writeln!(env, r#"RPK_REGISTRY_HOSTS="{url}""#).unwrap();
}
ServiceConfig::MySql(c) if c.application != Application::Metastore => {
let host = &c.address;
Expand Down

0 comments on commit 7fe9874

Please sign in to comment.