---
cases:
  - note: time/time caching
    query: data.generated.p = x
    modules:
      - |
        package generated

        p if {
        	time.now_ns(t0)
        	test.sleep("10ms")
        	time.now_ns(t1)
        	t0 == t1
        }
    data: {}
    want_result:
      - x: true
