Skip to content

Commit

Permalink
service: add test for non-time ts field (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwt authored May 20, 2021
1 parent 58dbccc commit d0b2458
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions service/ztests/ts-not-time.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
script: |
source services.sh
zapi -host $LAKE_HOST -p test post -f -
zapi -host $LAKE_HOST -p test get -z > out.zson
inputs:
- name: services.sh
- name: stdin
data: &stdin |
{ts:"A field named ts usually has type time, but this one does not."}

outputs:
- name: out.zson
data: *stdin

0 comments on commit d0b2458

Please sign in to comment.