Commit 7c66c8f
Fix: Support doc_size=0 in doc_generator to create empty JSON docs
When doc_size=0, use an empty template {} instead of the standard
template with body padding, producing minimal {} documents. This
allows Magma doc size tests to load truly minimum-size documents
without hitting the "doc_size must be positive" ValueError.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: Id87754c727e827bebcaf09bafd6e9e953112a01c
Reviewed-on: https://review.couchbase.org/c/TAF/+/245017
Reviewed-by: Ritesh Agarwal <ritesh.agarwal@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Tested-by: Ashwin <ashwin.govindarajulu@couchbase.com>1 parent 9c927f4 commit 7c66c8f
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments