Skip to content

Commit

Permalink
[nc] cross test muilti-write
Browse files Browse the repository at this point in the history
Signed-off-by: Nic Cheneweth <[email protected]>
  • Loading branch information
ncheneweth committed Sep 2, 2024
1 parent 3983814 commit ee13be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/efs/multi-write/multi-write-test.bats
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env bats

@test "validate multi-write access on app1" {
run bash -c "kubectl exec -it app1 -n psk-system -- tail -n 5 /data/out1.txt"
run bash -c "kubectl exec -it app1 -n psk-system -- tail -n 5 /data/out2.txt"
[[ "${output}" =~ "UTC" ]]
}

@test "validate multi-write access on app2" {
run bash -c "kubectl exec -it app2 -n psk-system -- tail -n 5 /data/out2.txt"
run bash -c "kubectl exec -it app2 -n psk-system -- tail -n 5 /data/out1.txt"
[[ "${output}" =~ "UTC" ]]
}

0 comments on commit ee13be9

Please sign in to comment.