Skip to content

Commit

Permalink
chore: move kafka image to tests-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
niebayes committed Jan 9, 2024
1 parent 2ad2f4e commit 96ea2e7
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 37 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

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

3 changes: 0 additions & 3 deletions src/common/test-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ license.workspace = true
[dependencies]
once_cell.workspace = true
rand.workspace = true
rskafka.workspace = true
tempfile.workspace = true
testcontainers = "0.15.0"
tokio.workspace = true
1 change: 0 additions & 1 deletion src/common/test-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use std::sync::LazyLock;

pub mod ports;
pub mod temp_dir;
pub mod wal;

// Rust is working on an env possibly named `CARGO_WORKSPACE_DIR` to find the root path to the
// workspace, see https://github.com/rust-lang/cargo/issues/3946.
Expand Down
15 changes: 0 additions & 15 deletions src/common/test-util/src/wal.rs

This file was deleted.

15 changes: 0 additions & 15 deletions src/common/test-util/src/wal/kafka.rs

This file was deleted.

2 changes: 2 additions & 0 deletions tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ sqlx = { version = "0.6", features = [
substrait.workspace = true
table.workspace = true
tempfile.workspace = true
testcontainers = "0.15.0"
time = "0.3"
tokio.workspace = true
tonic.workspace = true
Expand All @@ -77,6 +78,7 @@ opentelemetry-proto.workspace = true
partition.workspace = true
paste.workspace = true
prost.workspace = true
rskafka.workspace = true
script.workspace = true
session = { workspace = true, features = ["testing"] }
store-api.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions tests-integration/src/test_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

pub mod kafka_image;

use std::env;
use std::fmt::Display;
use std::net::SocketAddr;
Expand Down
File renamed without changes.

0 comments on commit 96ea2e7

Please sign in to comment.