Skip to content

Commit

Permalink
Some minor API improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed Apr 9, 2024
1 parent 931da7c commit 1262e36
Show file tree
Hide file tree
Showing 24 changed files with 95 additions and 105 deletions.
7 changes: 0 additions & 7 deletions .github/scripts/install-docker-images.sh

This file was deleted.

80 changes: 37 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tremor-connectors-aws/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tremor-config = { path = "../tremor-config" }
async-trait = { version = "0.1", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
anyhow = { version = "1", default-features = false }
async-channel = { version = "1.9", default-features = false }
async-channel = { version = "2", default-features = false }
thiserror = { version = "1", default-features = false }
tokio = { version = "1.34", default-features = false }
log = { version = "0.4", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion tremor-connectors-aws/tests/aws/streamer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ async fn connector_s3_consistent() -> anyhow::Result<()> {
}

async fn send_to_sink(harness: &Harness, event: &Event) -> anyhow::Result<()> {
harness.send_to_sink(event.clone(), IN).await?;
harness.send_to_sink(event.clone()).await?;
Ok(())
}

Expand Down
3 changes: 1 addition & 2 deletions tremor-connectors-gcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ log = { version = "0.4", default-features = true }
serde = { version = "1.0", default-features = true, features = ["derive"] }
thiserror = { version = "1", default-features = true }

bytes = { version = "0.5", default-features = true }

bytes = { version = "1.6", default-features = true }
googapis = { version = "0.6", default-features = true, features = [
"google-pubsub-v1",
"google-cloud-bigquery-storage-v1",
Expand Down
4 changes: 2 additions & 2 deletions tremor-connectors-gcp/tests/gcp/gpub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async fn simple_publish() -> anyhow::Result<()> {
data: (Value::String(format!("Event {i}").into()), literal!({})).into(),
..Event::default()
};
harness.send_to_sink(event, IN).await?;
harness.send_to_sink(event).await?;
}

let mut received_messages = HashSet::new();
Expand Down Expand Up @@ -257,7 +257,7 @@ async fn simple_publish_with_timeout() -> anyhow::Result<()> {
data: (Value::from("Event X"), literal!({})).into(),
..Event::default()
};
harness.send_to_sink(event, IN).await?;
harness.send_to_sink(event).await?;
timeout(
Duration::from_secs(10),
harness.wait_for_state(State::Failed),
Expand Down
Loading

0 comments on commit 1262e36

Please sign in to comment.