Skip to content

Commit

Permalink
Add failing tests for oneOf
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed May 2, 2022
1 parent f575ba9 commit 00df726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ test-linkerd-serverauth:
cargo test --test runner -- --nocapture

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

test-istio-destrule:
kubectl apply --server-side -f tests/destinationrule-crd.yaml
Expand Down
1 change: 0 additions & 1 deletion src/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ type: object
}

#[test]
#[ignore] // oneof support not done
fn enum_oneof() {
init();
let schema_str = r#"
Expand Down

0 comments on commit 00df726

Please sign in to comment.