Skip to content

Commit

Permalink
Stop CI running tests with Cargo when they're already run with Bazel.
Browse files Browse the repository at this point in the history
Also:
- Add missing unit test targets
- Rename `just kokoro_run_tests` to `just kokoro_run_cargo_tests` for clarity.
- Remove some commented out code.

Change-Id: I3f0482d947d82bf29b8aa3655204cb6faf3ced5a
  • Loading branch information
ernoc committed Jul 30, 2024
1 parent cc1f482 commit 136358d
Show file tree
Hide file tree
Showing 8 changed files with 1,099 additions and 100 deletions.
163 changes: 156 additions & 7 deletions bazel/test_workspace/Cargo-test.bazel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ dependencies = [
"syn 2.0.66",
]

[[package]]
name = "atomic-waker"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"

[[package]]
name = "atomic_refcell"
version = "0.1.13"
Expand All @@ -265,7 +271,7 @@ dependencies = [
"futures-util",
"http 0.2.12",
"http-body 0.4.6",
"hyper",
"hyper 0.14.28",
"itoa",
"matchit",
"memchr",
Expand Down Expand Up @@ -1091,7 +1097,9 @@ dependencies = [
"hkdf",
"hpke",
"http 0.2.12",
"hyper",
"http-body-util",
"hyper 0.14.28",
"hyper-util",
"ignore",
"itertools 0.12.1",
"lazy_static",
Expand Down Expand Up @@ -1601,6 +1609,25 @@ dependencies = [
"tracing",
]

[[package]]
name = "h2"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab"
dependencies = [
"atomic-waker",
"bytes",
"fnv",
"futures-core",
"futures-sink",
"http 1.1.0",
"indexmap 2.2.6",
"slab",
"tokio",
"tokio-util",
"tracing",
]

[[package]]
name = "half"
version = "2.4.1"
Expand Down Expand Up @@ -1808,7 +1835,7 @@ dependencies = [
"futures-channel",
"futures-core",
"futures-util",
"h2",
"h2 0.3.26",
"http 0.2.12",
"http-body 0.4.6",
"httparse",
Expand All @@ -1822,18 +1849,59 @@ dependencies = [
"want",
]

[[package]]
name = "hyper"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
dependencies = [
"bytes",
"futures-channel",
"futures-util",
"h2 0.4.5",
"http 1.1.0",
"http-body 1.0.0",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
"smallvec",
"tokio",
"want",
]

[[package]]
name = "hyper-timeout"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
dependencies = [
"hyper",
"hyper 0.14.28",
"pin-project-lite",
"tokio",
"tokio-io-timeout",
]

[[package]]
name = "hyper-util"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ab92f4f49ee4fb4f997c784b7a2e0fa70050211e0b6a287f898c3c9785ca956"
dependencies = [
"bytes",
"futures-channel",
"futures-util",
"http 1.1.0",
"http-body 1.0.0",
"hyper 1.4.1",
"pin-project-lite",
"socket2",
"tokio",
"tower",
"tower-service",
"tracing",
]

[[package]]
name = "iana-time-zone"
version = "0.1.60"
Expand All @@ -1857,6 +1925,12 @@ dependencies = [
"cc",
]

[[package]]
name = "id-arena"
version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005"

[[package]]
name = "ident_case"
version = "1.0.1"
Expand Down Expand Up @@ -3928,10 +4002,10 @@ dependencies = [
"base64 0.21.7",
"bytes",
"flate2",
"h2",
"h2 0.3.26",
"http 0.2.12",
"http-body 0.4.6",
"hyper",
"hyper 0.14.28",
"hyper-timeout",
"percent-encoding",
"pin-project",
Expand Down Expand Up @@ -3967,7 +4041,7 @@ dependencies = [
"bytes",
"http 0.2.12",
"http-body 0.4.6",
"hyper",
"hyper 0.14.28",
"pin-project",
"tokio-stream",
"tonic",
Expand Down Expand Up @@ -4117,6 +4191,12 @@ version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"

[[package]]
name = "unicode-xid"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"

[[package]]
name = "universal-hash"
version = "0.5.1"
Expand Down Expand Up @@ -4319,6 +4399,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69472708b96ee90579a482bdbb908ce97e53a9e5ebbcab59cc29c3977bcab512"
dependencies = [
"anyhow",
"async-trait",
"bincode",
"bumpalo",
"cfg-if",
Expand All @@ -4337,8 +4418,10 @@ dependencies = [
"target-lexicon",
"wasmparser",
"wasmtime-cache",
"wasmtime-component-macro",
"wasmtime-cranelift",
"wasmtime-environ",
"wasmtime-fiber",
"wasmtime-jit-icache-coherence",
"wasmtime-runtime",
"windows-sys 0.52.0",
Expand Down Expand Up @@ -4373,6 +4456,27 @@ dependencies = [
"zstd",
]

[[package]]
name = "wasmtime-component-macro"
version = "18.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc6aca484581f9651886dca45f9dea893e105713b58623d14b06c56d8fe3f3f1"
dependencies = [
"anyhow",
"proc-macro2",
"quote",
"syn 2.0.66",
"wasmtime-component-util",
"wasmtime-wit-bindgen",
"wit-parser",
]

[[package]]
name = "wasmtime-component-util"
version = "18.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0aa907cc97ad039c43f98525d772f4841c2ce69a0c11eeec2a3a9c77fc730e87"

[[package]]
name = "wasmtime-cranelift"
version = "18.0.4"
Expand Down Expand Up @@ -4435,6 +4539,21 @@ dependencies = [
"wasmtime-types",
]

[[package]]
name = "wasmtime-fiber"
version = "18.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3174f71c8fbd9d2cb1233ad9f912f106bdd2a1a6d11a1b7707974ba3ad5f304a"
dependencies = [
"anyhow",
"cc",
"cfg-if",
"rustix",
"wasmtime-asm-macros",
"wasmtime-versioned-export-macros",
"windows-sys 0.52.0",
]

[[package]]
name = "wasmtime-jit-icache-coherence"
version = "18.0.4"
Expand Down Expand Up @@ -4468,6 +4587,7 @@ dependencies = [
"wasm-encoder",
"wasmtime-asm-macros",
"wasmtime-environ",
"wasmtime-fiber",
"wasmtime-versioned-export-macros",
"wasmtime-wmemcheck",
"windows-sys 0.52.0",
Expand Down Expand Up @@ -4497,6 +4617,18 @@ dependencies = [
"syn 2.0.66",
]

[[package]]
name = "wasmtime-wit-bindgen"
version = "18.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6945fc6cfee04ba81016e9723bea77a2b913108e03904a4d901daedf208365f5"
dependencies = [
"anyhow",
"heck 0.4.1",
"indexmap 2.2.6",
"wit-parser",
]

[[package]]
name = "wasmtime-wmemcheck"
version = "18.0.4"
Expand Down Expand Up @@ -4719,6 +4851,23 @@ version = "0.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"

[[package]]
name = "wit-parser"
version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "316b36a9f0005f5aa4b03c39bc3728d045df136f8c13a73b7db4510dec725e08"
dependencies = [
"anyhow",
"id-arena",
"indexmap 2.2.6",
"log",
"semver",
"serde",
"serde_derive",
"serde_json",
"unicode-xid",
]

[[package]]
name = "wyz"
version = "0.5.1"
Expand Down
Loading

0 comments on commit 136358d

Please sign in to comment.