Commit 488b611
committed
Forward load_docs_using to doc_generator for tiny doc_size callers
The default_loader path in doc_generator subtracts a ~80-byte JSON
template skeleton from doc_size and rejects anything <= 0. Tests
that intentionally use tiny doc_size (0, 1, 5, 10) trip ValueError
unless they pass load_using=self.load_docs_using so sirius_java_sdk's
SiriusJavaDocGen accepts the raw payload size directly.
Change-Id: Id5ef20e242925d90d2d7e9dcdae387ae362c8528
Reviewed-on: https://review.couchbase.org/c/TAF/+/244720
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Balakumaran G <balakumaran.gopal@couchbase.com>1 parent f2a97b9 commit 488b611
3 files changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
| 731 | + | |
731 | 732 | | |
732 | 733 | | |
733 | 734 | | |
| |||
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
833 | | - | |
| 834 | + | |
| 835 | + | |
834 | 836 | | |
835 | 837 | | |
836 | 838 | | |
837 | | - | |
| 839 | + | |
838 | 840 | | |
839 | 841 | | |
840 | 842 | | |
| |||
1384 | 1386 | | |
1385 | 1387 | | |
1386 | 1388 | | |
1387 | | - | |
| 1389 | + | |
| 1390 | + | |
1388 | 1391 | | |
1389 | 1392 | | |
1390 | 1393 | | |
| |||
1400 | 1403 | | |
1401 | 1404 | | |
1402 | 1405 | | |
1403 | | - | |
| 1406 | + | |
| 1407 | + | |
1404 | 1408 | | |
1405 | 1409 | | |
1406 | 1410 | | |
| |||
1484 | 1488 | | |
1485 | 1489 | | |
1486 | 1490 | | |
1487 | | - | |
| 1491 | + | |
| 1492 | + | |
1488 | 1493 | | |
1489 | 1494 | | |
1490 | 1495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
| 593 | + | |
593 | 594 | | |
594 | 595 | | |
595 | 596 | | |
| |||
0 commit comments