Skip to content

Commit 54ffe72

Browse files
conformance: skip graph-stream-encode fixtures with unsupported stream options
Durable skip-guard so opt-in producer-aid fixtures can land fixture-first: a graph-stream-encode fixture whose options this runner does not support (currently labeledTrailerCounts, SPEC 8.4.1) is skipped rather than run and failed. This runner supports no stream options yet; when it implements labeled it stops skipping.
1 parent c46e729 commit 54ffe72

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_conformance_v2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ def _set(s):
199199
)
200200

201201
elif op == "graph-stream-encode":
202+
# Skip a fixture requesting stream options this runner does not support
203+
# (e.g. labeledTrailerCounts, SPEC 8.4.1). This runner supports none.
204+
if data.get("options"):
205+
pytest.skip("unsupported stream options")
202206
import io
203207

204208
from gcf.stream import StreamEncoder

0 commit comments

Comments
 (0)