Skip to content

Commit 00df726

Browse files
committed
Add failing tests for oneOf
Signed-off-by: clux <[email protected]>
1 parent f575ba9 commit 00df726

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

justfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ test-linkerd-serverauth:
6868
cargo test --test runner -- --nocapture
6969

7070
test-linkerd-server:
71-
#kubectl apply --server-side -f tests/server-crd.yaml
72-
#cargo run --bin kopium -- -ibz servers.policy.linkerd.io > tests/gen.rs
73-
#echo "pub type CR = Server;" >> tests/gen.rs
74-
#kubectl apply -f tests/server.yaml
75-
#cargo test --test runner -- --nocapture
71+
kubectl apply --server-side -f tests/server-crd.yaml
72+
cargo run --bin kopium -- -ibz servers.policy.linkerd.io > tests/gen.rs
73+
echo "pub type CR = Server;" >> tests/gen.rs
74+
kubectl apply -f tests/server.yaml
75+
cargo test --test runner -- --nocapture
7676

7777
test-istio-destrule:
7878
kubectl apply --server-side -f tests/destinationrule-crd.yaml

src/analyzer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,6 @@ type: object
672672
}
673673

674674
#[test]
675-
#[ignore] // oneof support not done
676675
fn enum_oneof() {
677676
init();
678677
let schema_str = r#"

0 commit comments

Comments
 (0)