@cloudant/couchbackup 2.9.8 → 2.9.9-SNAPSHOT.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.scannerwork/report-task.txt +2 -2
- package/.scannerwork/scanner-report/analysis-warnings.pb +2 -2
- package/.scannerwork/scanner-report/analysis.log +1 -1
- package/.scannerwork/scanner-report/changesets-11.pb +1 -0
- package/.scannerwork/scanner-report/changesets-12.pb +1 -0
- package/.scannerwork/scanner-report/changesets-13.pb +1 -0
- package/.scannerwork/scanner-report/changesets-14.pb +1 -0
- package/.scannerwork/scanner-report/changesets-15.pb +1 -0
- package/.scannerwork/scanner-report/changesets-16.pb +1 -0
- package/.scannerwork/scanner-report/changesets-17.pb +1 -0
- package/.scannerwork/scanner-report/changesets-18.pb +1 -0
- package/.scannerwork/scanner-report/changesets-2.pb +1 -0
- package/.scannerwork/scanner-report/changesets-3.pb +1 -0
- package/.scannerwork/scanner-report/changesets-38.pb +1 -0
- package/.scannerwork/scanner-report/changesets-39.pb +1 -0
- package/.scannerwork/scanner-report/changesets-40.pb +1 -0
- package/.scannerwork/scanner-report/changesets-55.pb +1 -0
- package/.scannerwork/scanner-report/changesets-56.pb +1 -0
- package/.scannerwork/scanner-report/changesets-59.pb +1 -0
- package/.scannerwork/scanner-report/changesets-60.pb +1 -0
- package/.scannerwork/scanner-report/changesets-61.pb +1 -0
- package/.scannerwork/scanner-report/changesets-62.pb +1 -0
- package/.scannerwork/scanner-report/changesets-63.pb +1 -0
- package/.scannerwork/scanner-report/changesets-64.pb +1 -0
- package/.scannerwork/scanner-report/changesets-67.pb +1 -0
- package/.scannerwork/scanner-report/changesets-68.pb +1 -0
- package/.scannerwork/scanner-report/component-1.pb +2 -1
- package/.scannerwork/scanner-report/component-10.pb +2 -0
- package/.scannerwork/scanner-report/component-11.pb +1 -0
- package/.scannerwork/scanner-report/component-12.pb +1 -0
- package/.scannerwork/scanner-report/component-13.pb +1 -0
- package/.scannerwork/scanner-report/component-14.pb +1 -0
- package/.scannerwork/scanner-report/component-15.pb +1 -0
- package/.scannerwork/scanner-report/component-16.pb +1 -0
- package/.scannerwork/scanner-report/component-17.pb +1 -0
- package/.scannerwork/scanner-report/component-18.pb +1 -0
- package/.scannerwork/scanner-report/component-19.pb +1 -1
- package/.scannerwork/scanner-report/component-2.pb +1 -0
- package/.scannerwork/scanner-report/component-20.pb +1 -1
- package/.scannerwork/scanner-report/component-21.pb +1 -1
- package/.scannerwork/scanner-report/component-22.pb +1 -1
- package/.scannerwork/scanner-report/component-23.pb +1 -1
- package/.scannerwork/scanner-report/component-24.pb +1 -1
- package/.scannerwork/scanner-report/component-25.pb +1 -1
- package/.scannerwork/scanner-report/component-27.pb +1 -1
- package/.scannerwork/scanner-report/component-3.pb +1 -0
- package/.scannerwork/scanner-report/component-30.pb +1 -1
- package/.scannerwork/scanner-report/component-31.pb +1 -1
- package/.scannerwork/scanner-report/component-33.pb +1 -1
- package/.scannerwork/scanner-report/component-34.pb +1 -1
- package/.scannerwork/scanner-report/component-36.pb +1 -1
- package/.scannerwork/scanner-report/component-37.pb +1 -1
- package/.scannerwork/scanner-report/component-38.pb +1 -1
- package/.scannerwork/scanner-report/component-39.pb +1 -0
- package/.scannerwork/scanner-report/component-4.pb +1 -1
- package/.scannerwork/scanner-report/component-40.pb +1 -1
- package/.scannerwork/scanner-report/component-52.pb +1 -1
- package/.scannerwork/scanner-report/component-53.pb +1 -1
- package/.scannerwork/scanner-report/component-54.pb +1 -1
- package/.scannerwork/scanner-report/component-55.pb +1 -1
- package/.scannerwork/scanner-report/component-56.pb +1 -0
- package/.scannerwork/scanner-report/component-57.pb +1 -1
- package/.scannerwork/scanner-report/component-58.pb +1 -1
- package/.scannerwork/scanner-report/component-59.pb +1 -1
- package/.scannerwork/scanner-report/component-60.pb +1 -0
- package/.scannerwork/scanner-report/component-61.pb +1 -1
- package/.scannerwork/scanner-report/component-62.pb +1 -0
- package/.scannerwork/scanner-report/component-63.pb +1 -0
- package/.scannerwork/scanner-report/component-64.pb +1 -0
- package/.scannerwork/scanner-report/component-65.pb +1 -1
- package/.scannerwork/scanner-report/component-66.pb +1 -1
- package/.scannerwork/scanner-report/component-67.pb +1 -0
- package/.scannerwork/scanner-report/component-68.pb +1 -0
- package/.scannerwork/scanner-report/component-69.pb +1 -1
- package/.scannerwork/scanner-report/coverages-12.pb +0 -0
- package/.scannerwork/scanner-report/coverages-18.pb +0 -0
- package/.scannerwork/scanner-report/coverages-19.pb +0 -0
- package/.scannerwork/scanner-report/coverages-2.pb +0 -0
- package/.scannerwork/scanner-report/coverages-20.pb +0 -0
- package/.scannerwork/scanner-report/coverages-21.pb +0 -0
- package/.scannerwork/scanner-report/coverages-22.pb +0 -0
- package/.scannerwork/scanner-report/coverages-23.pb +0 -0
- package/.scannerwork/scanner-report/coverages-24.pb +0 -0
- package/.scannerwork/scanner-report/coverages-3.pb +0 -0
- package/.scannerwork/scanner-report/coverages-30.pb +0 -0
- package/.scannerwork/scanner-report/coverages-33.pb +0 -0
- package/.scannerwork/scanner-report/coverages-34.pb +0 -0
- package/.scannerwork/scanner-report/coverages-36.pb +0 -0
- package/.scannerwork/scanner-report/coverages-37.pb +0 -0
- package/.scannerwork/scanner-report/coverages-38.pb +0 -0
- package/.scannerwork/scanner-report/coverages-4.pb +0 -0
- package/.scannerwork/scanner-report/coverages-52.pb +0 -0
- package/.scannerwork/scanner-report/coverages-53.pb +0 -0
- package/.scannerwork/scanner-report/coverages-54.pb +0 -0
- package/.scannerwork/scanner-report/coverages-56.pb +0 -0
- package/.scannerwork/scanner-report/coverages-57.pb +0 -0
- package/.scannerwork/scanner-report/coverages-58.pb +0 -0
- package/.scannerwork/scanner-report/coverages-59.pb +0 -0
- package/.scannerwork/scanner-report/coverages-60.pb +0 -0
- package/.scannerwork/scanner-report/coverages-63.pb +0 -0
- package/.scannerwork/scanner-report/coverages-64.pb +0 -0
- package/.scannerwork/scanner-report/coverages-65.pb +0 -0
- package/.scannerwork/scanner-report/coverages-66.pb +0 -0
- package/.scannerwork/scanner-report/duplications-17.pb +2 -0
- package/.scannerwork/scanner-report/duplications-19.pb +1 -2
- package/.scannerwork/scanner-report/duplications-21.pb +0 -2
- package/.scannerwork/scanner-report/duplications-22.pb +0 -3
- package/.scannerwork/scanner-report/duplications-3.pb +2 -0
- package/.scannerwork/scanner-report/duplications-36.pb +0 -2
- package/.scannerwork/scanner-report/duplications-38.pb +3 -0
- package/.scannerwork/scanner-report/duplications-4.pb +2 -0
- package/.scannerwork/scanner-report/duplications-54.pb +2 -0
- package/.scannerwork/scanner-report/duplications-60.pb +2 -0
- package/.scannerwork/scanner-report/duplications-63.pb +3 -0
- package/.scannerwork/scanner-report/duplications-65.pb +0 -2
- package/.scannerwork/scanner-report/duplications-66.pb +0 -2
- package/.scannerwork/scanner-report/measures-10.pb +0 -0
- package/.scannerwork/scanner-report/measures-12.pb +0 -0
- package/.scannerwork/scanner-report/measures-18.pb +0 -0
- package/.scannerwork/scanner-report/measures-19.pb +0 -0
- package/.scannerwork/scanner-report/measures-2.pb +0 -0
- package/.scannerwork/scanner-report/measures-20.pb +0 -0
- package/.scannerwork/scanner-report/measures-21.pb +0 -0
- package/.scannerwork/scanner-report/measures-22.pb +0 -0
- package/.scannerwork/scanner-report/measures-23.pb +0 -0
- package/.scannerwork/scanner-report/measures-24.pb +0 -0
- package/.scannerwork/scanner-report/measures-25.pb +0 -0
- package/.scannerwork/scanner-report/measures-27.pb +0 -0
- package/.scannerwork/scanner-report/measures-3.pb +0 -0
- package/.scannerwork/scanner-report/measures-30.pb +0 -0
- package/.scannerwork/scanner-report/measures-31.pb +0 -0
- package/.scannerwork/scanner-report/measures-33.pb +0 -0
- package/.scannerwork/scanner-report/measures-34.pb +0 -0
- package/.scannerwork/scanner-report/measures-36.pb +0 -0
- package/.scannerwork/scanner-report/measures-37.pb +0 -0
- package/.scannerwork/scanner-report/measures-38.pb +0 -0
- package/.scannerwork/scanner-report/measures-4.pb +0 -0
- package/.scannerwork/scanner-report/measures-40.pb +0 -0
- package/.scannerwork/scanner-report/measures-52.pb +0 -0
- package/.scannerwork/scanner-report/measures-53.pb +0 -0
- package/.scannerwork/scanner-report/measures-54.pb +0 -0
- package/.scannerwork/scanner-report/measures-55.pb +0 -0
- package/.scannerwork/scanner-report/measures-56.pb +0 -0
- package/.scannerwork/scanner-report/measures-57.pb +0 -0
- package/.scannerwork/scanner-report/measures-58.pb +0 -0
- package/.scannerwork/scanner-report/measures-59.pb +0 -0
- package/.scannerwork/scanner-report/measures-60.pb +15 -0
- package/.scannerwork/scanner-report/measures-61.pb +0 -0
- package/.scannerwork/scanner-report/measures-63.pb +0 -0
- package/.scannerwork/scanner-report/measures-64.pb +0 -0
- package/.scannerwork/scanner-report/measures-65.pb +0 -0
- package/.scannerwork/scanner-report/measures-66.pb +0 -0
- package/.scannerwork/scanner-report/measures-67.pb +0 -0
- package/.scannerwork/scanner-report/measures-68.pb +0 -0
- package/.scannerwork/scanner-report/measures-69.pb +0 -0
- package/.scannerwork/scanner-report/metadata.pb +0 -0
- package/.scannerwork/scanner-report/source-10.txt +167 -0
- package/.scannerwork/scanner-report/source-12.txt +164 -0
- package/.scannerwork/scanner-report/source-18.txt +111 -0
- package/.scannerwork/scanner-report/source-19.txt +71 -110
- package/.scannerwork/scanner-report/source-2.txt +114 -0
- package/.scannerwork/scanner-report/source-20.txt +25 -19
- package/.scannerwork/scanner-report/source-21.txt +105 -269
- package/.scannerwork/scanner-report/source-22.txt +57 -96
- package/.scannerwork/scanner-report/source-23.txt +40 -78
- package/.scannerwork/scanner-report/source-24.txt +19 -598
- package/.scannerwork/scanner-report/source-25.txt +509 -29
- package/.scannerwork/scanner-report/source-27.txt +509 -36
- package/.scannerwork/scanner-report/source-3.txt +190 -0
- package/.scannerwork/scanner-report/source-30.txt +399 -17
- package/.scannerwork/scanner-report/source-31.txt +509 -100
- package/.scannerwork/scanner-report/source-33.txt +52 -131
- package/.scannerwork/scanner-report/source-34.txt +36 -48
- package/.scannerwork/scanner-report/source-36.txt +25 -203
- package/.scannerwork/scanner-report/source-37.txt +121 -93
- package/.scannerwork/scanner-report/source-38.txt +119 -167
- package/.scannerwork/scanner-report/source-4.txt +158 -17
- package/.scannerwork/scanner-report/source-40.txt +244 -509
- package/.scannerwork/scanner-report/source-52.txt +599 -85
- package/.scannerwork/scanner-report/source-53.txt +47 -30
- package/.scannerwork/scanner-report/source-54.txt +202 -141
- package/.scannerwork/scanner-report/source-55.txt +68 -509
- package/.scannerwork/scanner-report/source-56.txt +36 -0
- package/.scannerwork/scanner-report/source-57.txt +20 -62
- package/.scannerwork/scanner-report/source-58.txt +140 -40
- package/.scannerwork/scanner-report/source-59.txt +34 -509
- package/.scannerwork/scanner-report/source-60.txt +293 -0
- package/.scannerwork/scanner-report/source-61.txt +366 -509
- package/.scannerwork/scanner-report/source-63.txt +131 -0
- package/.scannerwork/scanner-report/source-64.txt +92 -0
- package/.scannerwork/scanner-report/source-65.txt +80 -170
- package/.scannerwork/scanner-report/source-66.txt +46 -153
- package/.scannerwork/scanner-report/source-67.txt +36 -0
- package/.scannerwork/scanner-report/source-68.txt +29 -0
- package/.scannerwork/scanner-report/source-69.txt +509 -418
- package/.scannerwork/scanner-report/symbols-12.pb +126 -0
- package/.scannerwork/scanner-report/symbols-18.pb +59 -0
- package/.scannerwork/scanner-report/symbols-19.pb +44 -97
- package/.scannerwork/scanner-report/symbols-2.pb +28 -0
- package/.scannerwork/scanner-report/symbols-20.pb +17 -16
- package/.scannerwork/scanner-report/symbols-21.pb +33 -486
- package/.scannerwork/scanner-report/symbols-22.pb +41 -72
- package/.scannerwork/scanner-report/symbols-23.pb +15 -60
- package/.scannerwork/scanner-report/symbols-24.pb +19 -1253
- package/.scannerwork/scanner-report/symbols-3.pb +180 -0
- package/.scannerwork/scanner-report/symbols-30.pb +610 -14
- package/.scannerwork/scanner-report/symbols-33.pb +29 -111
- package/.scannerwork/scanner-report/symbols-34.pb +18 -35
- package/.scannerwork/scanner-report/symbols-36.pb +26 -417
- package/.scannerwork/scanner-report/symbols-37.pb +116 -28
- package/.scannerwork/scanner-report/symbols-38.pb +77 -0
- package/.scannerwork/scanner-report/symbols-4.pb +152 -9
- package/.scannerwork/scanner-report/symbols-52.pb +1251 -56
- package/.scannerwork/scanner-report/symbols-53.pb +42 -19
- package/.scannerwork/scanner-report/symbols-54.pb +417 -125
- package/.scannerwork/scanner-report/symbols-56.pb +14 -0
- package/.scannerwork/scanner-report/symbols-57.pb +16 -29
- package/.scannerwork/scanner-report/symbols-58.pb +111 -18
- package/.scannerwork/scanner-report/symbols-59.pb +10 -0
- package/.scannerwork/scanner-report/symbols-60.pb +486 -0
- package/.scannerwork/scanner-report/symbols-63.pb +97 -0
- package/.scannerwork/scanner-report/symbols-64.pb +60 -0
- package/.scannerwork/scanner-report/symbols-65.pb +69 -180
- package/.scannerwork/scanner-report/symbols-66.pb +35 -152
- package/.scannerwork/scanner-report/syntax-highlightings-10.pb +949 -0
- package/.scannerwork/scanner-report/syntax-highlightings-12.pb +213 -0
- package/.scannerwork/scanner-report/syntax-highlightings-18.pb +133 -0
- package/.scannerwork/scanner-report/syntax-highlightings-19.pb +57 -149
- package/.scannerwork/scanner-report/syntax-highlightings-2.pb +138 -0
- package/.scannerwork/scanner-report/syntax-highlightings-20.pb +20 -33
- package/.scannerwork/scanner-report/syntax-highlightings-21.pb +91 -621
- package/.scannerwork/scanner-report/syntax-highlightings-22.pb +58 -121
- package/.scannerwork/scanner-report/syntax-highlightings-23.pb +22 -78
- package/.scannerwork/scanner-report/syntax-highlightings-24.pb +33 -856
- package/.scannerwork/scanner-report/syntax-highlightings-25.pb +3731 -31
- package/.scannerwork/scanner-report/syntax-highlightings-27.pb +3738 -48
- package/.scannerwork/scanner-report/syntax-highlightings-3.pb +225 -0
- package/.scannerwork/scanner-report/syntax-highlightings-30.pb +619 -25
- package/.scannerwork/scanner-report/syntax-highlightings-31.pb +3737 -94
- package/.scannerwork/scanner-report/syntax-highlightings-33.pb +74 -194
- package/.scannerwork/scanner-report/syntax-highlightings-34.pb +61 -74
- package/.scannerwork/scanner-report/syntax-highlightings-36.pb +28 -291
- package/.scannerwork/scanner-report/syntax-highlightings-37.pb +99 -103
- package/.scannerwork/scanner-report/syntax-highlightings-38.pb +147 -937
- package/.scannerwork/scanner-report/syntax-highlightings-4.pb +185 -21
- package/.scannerwork/scanner-report/syntax-highlightings-40.pb +222 -3642
- package/.scannerwork/scanner-report/syntax-highlightings-52.pb +845 -91
- package/.scannerwork/scanner-report/syntax-highlightings-53.pb +51 -33
- package/.scannerwork/scanner-report/syntax-highlightings-54.pb +286 -168
- package/.scannerwork/scanner-report/syntax-highlightings-55.pb +99 -3735
- package/.scannerwork/scanner-report/syntax-highlightings-56.pb +54 -0
- package/.scannerwork/scanner-report/syntax-highlightings-57.pb +42 -82
- package/.scannerwork/scanner-report/syntax-highlightings-58.pb +196 -55
- package/.scannerwork/scanner-report/syntax-highlightings-59.pb +32 -3729
- package/.scannerwork/scanner-report/syntax-highlightings-60.pb +659 -0
- package/.scannerwork/scanner-report/syntax-highlightings-61.pb +385 -3503
- package/.scannerwork/scanner-report/syntax-highlightings-63.pb +182 -0
- package/.scannerwork/scanner-report/syntax-highlightings-64.pb +110 -0
- package/.scannerwork/scanner-report/syntax-highlightings-65.pb +67 -187
- package/.scannerwork/scanner-report/syntax-highlightings-66.pb +64 -183
- package/.scannerwork/scanner-report/syntax-highlightings-67.pb +59 -0
- package/.scannerwork/scanner-report/syntax-highlightings-68.pb +48 -0
- package/.scannerwork/scanner-report/syntax-highlightings-69.pb +3545 -445
- package/package.json +5 -5
- package/test-14-results.xml +155 -155
- package/test-16-results.xml +147 -147
- package/test-18-results.xml +158 -158
- package/test-19-results.xml +150 -150
- package/test-iam-18-results.xml +50 -50
- package/.scannerwork/scanner-report/changesets-25.pb +0 -1
- package/.scannerwork/scanner-report/changesets-26.pb +0 -1
- package/.scannerwork/scanner-report/changesets-27.pb +0 -1
- package/.scannerwork/scanner-report/changesets-28.pb +0 -1
- package/.scannerwork/scanner-report/changesets-29.pb +0 -1
- package/.scannerwork/scanner-report/changesets-31.pb +0 -1
- package/.scannerwork/scanner-report/changesets-32.pb +0 -1
- package/.scannerwork/scanner-report/changesets-35.pb +0 -1
- package/.scannerwork/scanner-report/changesets-41.pb +0 -1
- package/.scannerwork/scanner-report/changesets-42.pb +0 -1
- package/.scannerwork/scanner-report/changesets-43.pb +0 -1
- package/.scannerwork/scanner-report/changesets-44.pb +0 -1
- package/.scannerwork/scanner-report/changesets-45.pb +0 -1
- package/.scannerwork/scanner-report/changesets-46.pb +0 -1
- package/.scannerwork/scanner-report/changesets-47.pb +0 -1
- package/.scannerwork/scanner-report/changesets-48.pb +0 -1
- package/.scannerwork/scanner-report/changesets-49.pb +0 -1
- package/.scannerwork/scanner-report/changesets-5.pb +0 -1
- package/.scannerwork/scanner-report/changesets-50.pb +0 -1
- package/.scannerwork/scanner-report/changesets-51.pb +0 -1
- package/.scannerwork/scanner-report/changesets-6.pb +0 -1
- package/.scannerwork/scanner-report/changesets-69.pb +0 -1
- package/.scannerwork/scanner-report/changesets-7.pb +0 -1
- package/.scannerwork/scanner-report/component-26.pb +0 -1
- package/.scannerwork/scanner-report/component-28.pb +0 -1
- package/.scannerwork/scanner-report/component-29.pb +0 -1
- package/.scannerwork/scanner-report/component-32.pb +0 -1
- package/.scannerwork/scanner-report/component-35.pb +0 -1
- package/.scannerwork/scanner-report/component-41.pb +0 -1
- package/.scannerwork/scanner-report/component-42.pb +0 -1
- package/.scannerwork/scanner-report/component-43.pb +0 -1
- package/.scannerwork/scanner-report/component-44.pb +0 -1
- package/.scannerwork/scanner-report/component-45.pb +0 -1
- package/.scannerwork/scanner-report/component-46.pb +0 -1
- package/.scannerwork/scanner-report/component-47.pb +0 -1
- package/.scannerwork/scanner-report/component-48.pb +0 -1
- package/.scannerwork/scanner-report/component-49.pb +0 -1
- package/.scannerwork/scanner-report/component-5.pb +0 -1
- package/.scannerwork/scanner-report/component-50.pb +0 -1
- package/.scannerwork/scanner-report/component-51.pb +0 -1
- package/.scannerwork/scanner-report/component-6.pb +0 -1
- package/.scannerwork/scanner-report/component-7.pb +0 -1
- package/.scannerwork/scanner-report/coverages-26.pb +0 -0
- package/.scannerwork/scanner-report/coverages-28.pb +0 -0
- package/.scannerwork/scanner-report/coverages-31.pb +0 -0
- package/.scannerwork/scanner-report/coverages-43.pb +0 -0
- package/.scannerwork/scanner-report/coverages-46.pb +0 -0
- package/.scannerwork/scanner-report/coverages-47.pb +0 -0
- package/.scannerwork/scanner-report/coverages-49.pb +0 -0
- package/.scannerwork/scanner-report/coverages-51.pb +0 -0
- package/.scannerwork/scanner-report/coverages-69.pb +0 -0
- package/.scannerwork/scanner-report/coverages-7.pb +0 -0
- package/.scannerwork/scanner-report/duplications-43.pb +0 -2
- package/.scannerwork/scanner-report/duplications-45.pb +0 -2
- package/.scannerwork/scanner-report/duplications-6.pb +0 -0
- package/.scannerwork/scanner-report/duplications-69.pb +0 -0
- package/.scannerwork/scanner-report/duplications-7.pb +0 -0
- package/.scannerwork/scanner-report/measures-26.pb +0 -0
- package/.scannerwork/scanner-report/measures-28.pb +0 -0
- package/.scannerwork/scanner-report/measures-29.pb +0 -0
- package/.scannerwork/scanner-report/measures-43.pb +0 -0
- package/.scannerwork/scanner-report/measures-46.pb +0 -0
- package/.scannerwork/scanner-report/measures-47.pb +0 -0
- package/.scannerwork/scanner-report/measures-49.pb +0 -0
- package/.scannerwork/scanner-report/measures-5.pb +0 -0
- package/.scannerwork/scanner-report/measures-51.pb +0 -0
- package/.scannerwork/scanner-report/measures-6.pb +0 -0
- package/.scannerwork/scanner-report/measures-7.pb +0 -0
- package/.scannerwork/scanner-report/source-26.txt +0 -63
- package/.scannerwork/scanner-report/source-28.txt +0 -142
- package/.scannerwork/scanner-report/source-29.txt +0 -366
- package/.scannerwork/scanner-report/source-43.txt +0 -92
- package/.scannerwork/scanner-report/source-46.txt +0 -54
- package/.scannerwork/scanner-report/source-47.txt +0 -41
- package/.scannerwork/scanner-report/source-49.txt +0 -129
- package/.scannerwork/scanner-report/source-5.txt +0 -244
- package/.scannerwork/scanner-report/source-51.txt +0 -80
- package/.scannerwork/scanner-report/source-6.txt +0 -68
- package/.scannerwork/scanner-report/source-7.txt +0 -47
- package/.scannerwork/scanner-report/symbols-26.pb +0 -43
- package/.scannerwork/scanner-report/symbols-28.pb +0 -116
- package/.scannerwork/scanner-report/symbols-31.pb +0 -69
- package/.scannerwork/scanner-report/symbols-43.pb +0 -44
- package/.scannerwork/scanner-report/symbols-46.pb +0 -15
- package/.scannerwork/scanner-report/symbols-47.pb +0 -18
- package/.scannerwork/scanner-report/symbols-49.pb +0 -33
- package/.scannerwork/scanner-report/symbols-51.pb +0 -46
- package/.scannerwork/scanner-report/symbols-69.pb +0 -610
- package/.scannerwork/scanner-report/symbols-7.pb +0 -27
- package/.scannerwork/scanner-report/syntax-highlightings-26.pb +0 -82
- package/.scannerwork/scanner-report/syntax-highlightings-28.pb +0 -134
- package/.scannerwork/scanner-report/syntax-highlightings-29.pb +0 -630
- package/.scannerwork/scanner-report/syntax-highlightings-43.pb +0 -90
- package/.scannerwork/scanner-report/syntax-highlightings-46.pb +0 -54
- package/.scannerwork/scanner-report/syntax-highlightings-47.pb +0 -50
- package/.scannerwork/scanner-report/syntax-highlightings-49.pb +0 -129
- package/.scannerwork/scanner-report/syntax-highlightings-5.pb +0 -329
- package/.scannerwork/scanner-report/syntax-highlightings-51.pb +0 -95
- package/.scannerwork/scanner-report/syntax-highlightings-6.pb +0 -110
- package/.scannerwork/scanner-report/syntax-highlightings-7.pb +0 -68
- /package/.scannerwork/scanner-report/{coverages-48.pb → coverages-11.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-42.pb → coverages-13.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-44.pb → coverages-14.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-50.pb → coverages-15.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-41.pb → coverages-16.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-45.pb → coverages-17.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-35.pb → coverages-39.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-5.pb → coverages-40.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-6.pb → coverages-55.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-29.pb → coverages-61.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-32.pb → coverages-62.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-27.pb → coverages-67.pb} +0 -0
- /package/.scannerwork/scanner-report/{coverages-25.pb → coverages-68.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-26.pb → duplications-11.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-27.pb → duplications-12.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-28.pb → duplications-13.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-29.pb → duplications-14.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-31.pb → duplications-15.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-35.pb → duplications-16.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-41.pb → duplications-18.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-42.pb → duplications-2.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-44.pb → duplications-39.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-5.pb → duplications-40.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-46.pb → duplications-55.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-47.pb → duplications-56.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-48.pb → duplications-59.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-49.pb → duplications-61.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-32.pb → duplications-62.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-50.pb → duplications-64.pb} +0 -0
- /package/.scannerwork/scanner-report/{duplications-51.pb → duplications-67.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-7.pb → issues-36.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-28.pb → issues-37.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-5.pb → issues-40.pb} +0 -0
- /package/.scannerwork/scanner-report/{issues-29.pb → issues-61.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-48.pb → measures-11.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-42.pb → measures-13.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-44.pb → measures-14.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-50.pb → measures-15.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-41.pb → measures-16.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-45.pb → measures-17.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-35.pb → measures-39.pb} +0 -0
- /package/.scannerwork/scanner-report/{measures-32.pb → measures-62.pb} +0 -0
- /package/.scannerwork/scanner-report/{source-48.txt → source-11.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-42.txt → source-13.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-44.txt → source-14.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-50.txt → source-15.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-41.txt → source-16.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-45.txt → source-17.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-35.txt → source-39.txt} +0 -0
- /package/.scannerwork/scanner-report/{source-32.txt → source-62.txt} +0 -0
- /package/.scannerwork/scanner-report/{symbols-48.pb → symbols-11.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-42.pb → symbols-13.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-44.pb → symbols-14.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-50.pb → symbols-15.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-41.pb → symbols-16.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-45.pb → symbols-17.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-35.pb → symbols-39.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-5.pb → symbols-40.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-6.pb → symbols-55.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-29.pb → symbols-61.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-32.pb → symbols-62.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-27.pb → symbols-67.pb} +0 -0
- /package/.scannerwork/scanner-report/{symbols-25.pb → symbols-68.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-48.pb → syntax-highlightings-11.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-42.pb → syntax-highlightings-13.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-44.pb → syntax-highlightings-14.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-50.pb → syntax-highlightings-15.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-41.pb → syntax-highlightings-16.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-45.pb → syntax-highlightings-17.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-35.pb → syntax-highlightings-39.pb} +0 -0
- /package/.scannerwork/scanner-report/{syntax-highlightings-32.pb → syntax-highlightings-62.pb} +0 -0
|
@@ -1,509 +1,366 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
]
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
]
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
]
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
]
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
]
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
</testcase>
|
|
368
|
-
</testsuite>
|
|
369
|
-
<testsuite name="#unit Default parameters Backup command-line" tests="23" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:23" time="0.043">
|
|
370
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_URL env variable if the --url backup command-line parameter is missing" time="0.012">
|
|
371
|
-
</testcase>
|
|
372
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_DATABASE env variable if the --db backup command-line parameter is missing" time="0.001">
|
|
373
|
-
</testcase>
|
|
374
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_BUFFER_SIZE env variable if the --buffer-size backup command-line parameter is missing" time="0.001">
|
|
375
|
-
</testcase>
|
|
376
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_PARALLELISM env variable if the --parallelism backup command-line parameter is missing" time="0.001">
|
|
377
|
-
</testcase>
|
|
378
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_REQUEST_TIMEOUT env variable if the --request-timeout backup command-line parameter is missing" time="0.001">
|
|
379
|
-
</testcase>
|
|
380
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the CLOUDANT_IAM_API_KEY env variable if the --iam-api-key backup command-line parameter is missing" time="0.001">
|
|
381
|
-
</testcase>
|
|
382
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_LOG env variable if the --log backup command-line parameter is missing" time="0.002">
|
|
383
|
-
</testcase>
|
|
384
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_RESUME env variable if the --resume backup command-line parameter is missing" time="0.001">
|
|
385
|
-
</testcase>
|
|
386
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_OUTPUT env variable if the --output backup command-line parameter is missing" time="0.001">
|
|
387
|
-
</testcase>
|
|
388
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_MODE env variable if the --mode backup command-line parameter is missing" time="0.001">
|
|
389
|
-
</testcase>
|
|
390
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the COUCH_QUIET env variable if the --quiet backup command-line parameter is missing" time="0.001">
|
|
391
|
-
</testcase>
|
|
392
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --url command-line parameter" time="0.001">
|
|
393
|
-
</testcase>
|
|
394
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --db command-line parameter" time="0.001">
|
|
395
|
-
</testcase>
|
|
396
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --buffer-size command-line parameter" time="0.001">
|
|
397
|
-
</testcase>
|
|
398
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --parallelism command-line parameter" time="0.001">
|
|
399
|
-
</testcase>
|
|
400
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --request-timeout command-line parameter" time="0.001">
|
|
401
|
-
</testcase>
|
|
402
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --iam-api-key command-line parameter" time="0.001">
|
|
403
|
-
</testcase>
|
|
404
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --log command-line parameter" time="0">
|
|
405
|
-
</testcase>
|
|
406
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --resume command-line parameter" time="0.001">
|
|
407
|
-
</testcase>
|
|
408
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --output command-line parameter" time="0.001">
|
|
409
|
-
</testcase>
|
|
410
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --mode full command-line parameter" time="0.001">
|
|
411
|
-
</testcase>
|
|
412
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --mode shallow command-line parameter" time="0.001">
|
|
413
|
-
</testcase>
|
|
414
|
-
<testcase classname="test.#unit Default parameters Backup command-line" name="respects the backup --quiet command-line parameter" time="0.001">
|
|
415
|
-
</testcase>
|
|
416
|
-
</testsuite>
|
|
417
|
-
<testsuite name="#unit Default parameters Restore command-line" tests="14" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:23" time="0.017">
|
|
418
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_URL env variable if the --url restore command-line parameter is missing" time="0.001">
|
|
419
|
-
</testcase>
|
|
420
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_DATABASE env variable if the --db restore command-line parameter is missing" time="0">
|
|
421
|
-
</testcase>
|
|
422
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_BUFFER_SIZE env variable if the --buffer-size restore command-line parameter is missing" time="0.001">
|
|
423
|
-
</testcase>
|
|
424
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_PARALLELISM env variable if the --parallelism restore command-line parameter is missing" time="0">
|
|
425
|
-
</testcase>
|
|
426
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_REQUEST_TIMEOUT env variable if the --request-timeout restore command-line parameter is missing" time="0">
|
|
427
|
-
</testcase>
|
|
428
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the CLOUDANT_IAM_API_KEY env variable if the --iam-api-key restore command-line parameter is missing" time="0">
|
|
429
|
-
</testcase>
|
|
430
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the COUCH_QUIET env variable if the --quiet restorer command-line parameter is missing" time="0">
|
|
431
|
-
</testcase>
|
|
432
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --url command-line parameter" time="0">
|
|
433
|
-
</testcase>
|
|
434
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --db command-line parameter" time="0">
|
|
435
|
-
</testcase>
|
|
436
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --buffer-size command-line parameter" time="0">
|
|
437
|
-
</testcase>
|
|
438
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --parallelism command-line parameter" time="0">
|
|
439
|
-
</testcase>
|
|
440
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --request-timeout command-line parameter" time="0">
|
|
441
|
-
</testcase>
|
|
442
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --iam-api-key command-line parameter" time="0.001">
|
|
443
|
-
</testcase>
|
|
444
|
-
<testcase classname="test.#unit Default parameters Restore command-line" name="respects the restore --quiet command-line parameter" time="0.001">
|
|
445
|
-
</testcase>
|
|
446
|
-
</testsuite>
|
|
447
|
-
<testsuite name="#unit Check request headers" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:24" time="0.006">
|
|
448
|
-
<testcase classname="test.#unit Check request headers" name="should have a couchbackup user-agent" time="0.005">
|
|
449
|
-
</testcase>
|
|
450
|
-
</testsuite>
|
|
451
|
-
<testsuite name="#unit Check request response error callback" tests="8" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:24" time="10.58">
|
|
452
|
-
<testcase classname="test.#unit Check request response error callback" name="should not callback with error for 200 response" time="0.004">
|
|
453
|
-
</testcase>
|
|
454
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error after 3 500 responses" time="2.015">
|
|
455
|
-
</testcase>
|
|
456
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error after 3 POST 503 responses" time="2.016">
|
|
457
|
-
</testcase>
|
|
458
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error after 3 429 responses" time="2.016">
|
|
459
|
-
</testcase>
|
|
460
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with fatal error for 404 response" time="0.004">
|
|
461
|
-
</testcase>
|
|
462
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with same error for no status code error response" time="2.01">
|
|
463
|
-
</testcase>
|
|
464
|
-
<testcase classname="test.#unit Check request response error callback" name="should retry request if HTTP request gets timed out" time="0.506">
|
|
465
|
-
</testcase>
|
|
466
|
-
<testcase classname="test.#unit Check request response error callback" name="should callback with error code ESOCKETTIMEDOUT if 3 HTTP requests gets timed out" time="2.006">
|
|
467
|
-
</testcase>
|
|
468
|
-
</testsuite>
|
|
469
|
-
<testsuite name="#unit Check request response error callback #unit Check credentials" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:34" time="0.008">
|
|
470
|
-
<testcase classname="test.#unit Check request response error callback #unit Check credentials" name="should properly decode username and password" time="0.008">
|
|
471
|
-
</testcase>
|
|
472
|
-
</testsuite>
|
|
473
|
-
<testsuite name="#unit Perform backup using shallow backup" tests="3" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:34" time="0.566">
|
|
474
|
-
<testcase classname="test.#unit Perform backup using shallow backup" name="should perform a shallow backup" time="0.017">
|
|
475
|
-
</testcase>
|
|
476
|
-
<testcase classname="test.#unit Perform backup using shallow backup" name="should perform a shallow backup with transient error" time="0.526">
|
|
477
|
-
</testcase>
|
|
478
|
-
<testcase classname="test.#unit Perform backup using shallow backup" name="should fail to perform a shallow backup on fatal error" time="0.014">
|
|
479
|
-
</testcase>
|
|
480
|
-
</testsuite>
|
|
481
|
-
<testsuite name="#unit Check spool changes" tests="4" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:35" time="15.265">
|
|
482
|
-
<testcase classname="test.#unit Check spool changes" name="should terminate on request error" time="2.014">
|
|
483
|
-
</testcase>
|
|
484
|
-
<testcase classname="test.#unit Check spool changes" name="should terminate on bad HTTP status code response" time="2.017">
|
|
485
|
-
</testcase>
|
|
486
|
-
<testcase classname="test.#unit Check spool changes" name="should keep collecting changes" time="2.144">
|
|
487
|
-
</testcase>
|
|
488
|
-
<testcase classname="test.#unit Check spool changes" name="should keep collecting sparse changes" time="9.087">
|
|
489
|
-
</testcase>
|
|
490
|
-
</testsuite>
|
|
491
|
-
<testsuite name="Longer spool changes checks" tests="1" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:13:50" time="51.418">
|
|
492
|
-
<testcase classname="test.Longer spool changes checks" name="#slow should keep collecting changes (25M)" time="51.157">
|
|
493
|
-
</testcase>
|
|
494
|
-
</testsuite>
|
|
495
|
-
<testsuite name="#unit Check database restore writer" tests="6" errors="0" failures="0" skipped="0" timestamp="2023-04-04T16:14:41" time="4.099">
|
|
496
|
-
<testcase classname="test.#unit Check database restore writer" name="should complete successfully" time="0.024">
|
|
497
|
-
</testcase>
|
|
498
|
-
<testcase classname="test.#unit Check database restore writer" name="should terminate on a fatal error" time="0.008">
|
|
499
|
-
</testcase>
|
|
500
|
-
<testcase classname="test.#unit Check database restore writer" name="should retry on transient errors" time="2.018">
|
|
501
|
-
</testcase>
|
|
502
|
-
<testcase classname="test.#unit Check database restore writer" name="should fail after 3 transient errors" time="2.016">
|
|
503
|
-
</testcase>
|
|
504
|
-
<testcase classname="test.#unit Check database restore writer" name="should restore shallow backups without rev info successfully" time="0.021">
|
|
505
|
-
</testcase>
|
|
506
|
-
<testcase classname="test.#unit Check database restore writer" name="should get a batch error for non-empty array response with new_edits false" time="0.008">
|
|
507
|
-
</testcase>
|
|
508
|
-
</testsuite>
|
|
509
|
-
</testsuites>
|
|
1
|
+
// Copyright © 2017, 2021 IBM Corp. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
/* global describe afterEach before after it */
|
|
16
|
+
'use strict';
|
|
17
|
+
|
|
18
|
+
const assert = require('assert');
|
|
19
|
+
const parser = require('../includes/parser.js');
|
|
20
|
+
|
|
21
|
+
describe('#unit Default parameters', function() {
|
|
22
|
+
let processEnvCopy;
|
|
23
|
+
let processArgvCopy;
|
|
24
|
+
|
|
25
|
+
before('Set process data for test', function() {
|
|
26
|
+
// Copy env and argv so we can reset them after the tests
|
|
27
|
+
processEnvCopy = JSON.parse(JSON.stringify(process.env));
|
|
28
|
+
processArgvCopy = JSON.parse(JSON.stringify(process.argv));
|
|
29
|
+
|
|
30
|
+
// setup environment variables
|
|
31
|
+
process.env.COUCH_URL = 'http://user:pass@myurl.com';
|
|
32
|
+
process.env.COUCH_DATABASE = 'mydb';
|
|
33
|
+
process.env.COUCH_BUFFER_SIZE = '1000';
|
|
34
|
+
process.env.COUCH_PARALLELISM = '20';
|
|
35
|
+
process.env.COUCH_REQUEST_TIMEOUT = '20000';
|
|
36
|
+
process.env.COUCH_LOG = 'my.log';
|
|
37
|
+
process.env.COUCH_RESUME = 'true';
|
|
38
|
+
process.env.COUCH_OUTPUT = 'myfile.txt';
|
|
39
|
+
process.env.COUCH_MODE = 'shallow';
|
|
40
|
+
process.env.CLOUDANT_IAM_API_KEY = 'ABC123-ZYX987_cba789-xyz321';
|
|
41
|
+
process.env.COUCH_QUIET = 'true';
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
after('Reset process data', function() {
|
|
45
|
+
process.env = processEnvCopy;
|
|
46
|
+
process.argv = processArgvCopy;
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
afterEach(function() {
|
|
50
|
+
delete require.cache[require.resolve('commander')];
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
describe('Backup command-line', function() {
|
|
54
|
+
it('respects the COUCH_URL env variable if the --url backup command-line parameter is missing', function(done) {
|
|
55
|
+
process.argv = ['node', 'test'];
|
|
56
|
+
const program = parser.parseBackupArgs();
|
|
57
|
+
assert.strictEqual(typeof program.url, 'string');
|
|
58
|
+
assert.strictEqual(program.url, process.env.COUCH_URL);
|
|
59
|
+
done();
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it('respects the COUCH_DATABASE env variable if the --db backup command-line parameter is missing', function(done) {
|
|
63
|
+
process.argv = ['node', 'test'];
|
|
64
|
+
const program = parser.parseBackupArgs();
|
|
65
|
+
assert.strictEqual(typeof program.db, 'string');
|
|
66
|
+
assert.strictEqual(program.db, process.env.COUCH_DATABASE);
|
|
67
|
+
done();
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
it('respects the COUCH_BUFFER_SIZE env variable if the --buffer-size backup command-line parameter is missing', function(done) {
|
|
71
|
+
process.argv = ['node', 'test'];
|
|
72
|
+
const program = parser.parseBackupArgs();
|
|
73
|
+
assert.strictEqual(typeof program.bufferSize, 'number');
|
|
74
|
+
assert.strictEqual(program.bufferSize, parseInt(process.env.COUCH_BUFFER_SIZE, 10));
|
|
75
|
+
done();
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
it('respects the COUCH_PARALLELISM env variable if the --parallelism backup command-line parameter is missing', function(done) {
|
|
79
|
+
process.argv = ['node', 'test'];
|
|
80
|
+
const program = parser.parseBackupArgs();
|
|
81
|
+
assert.strictEqual(typeof program.parallelism, 'number');
|
|
82
|
+
assert.strictEqual(program.parallelism, parseInt(process.env.COUCH_PARALLELISM, 10));
|
|
83
|
+
done();
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
it('respects the COUCH_REQUEST_TIMEOUT env variable if the --request-timeout backup command-line parameter is missing', function(done) {
|
|
87
|
+
process.argv = ['node', 'test'];
|
|
88
|
+
const program = parser.parseBackupArgs();
|
|
89
|
+
assert.strictEqual(typeof program.requestTimeout, 'number');
|
|
90
|
+
assert.strictEqual(program.requestTimeout, parseInt(process.env.COUCH_REQUEST_TIMEOUT, 10));
|
|
91
|
+
done();
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
it('respects the CLOUDANT_IAM_API_KEY env variable if the --iam-api-key backup command-line parameter is missing', function(done) {
|
|
95
|
+
process.argv = ['node', 'test'];
|
|
96
|
+
const program = parser.parseBackupArgs();
|
|
97
|
+
assert.strictEqual(typeof program.iamApiKey, 'string');
|
|
98
|
+
assert.strictEqual(program.iamApiKey, process.env.CLOUDANT_IAM_API_KEY);
|
|
99
|
+
done();
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
it('respects the COUCH_LOG env variable if the --log backup command-line parameter is missing', function(done) {
|
|
103
|
+
process.argv = ['node', 'test'];
|
|
104
|
+
const program = parser.parseBackupArgs();
|
|
105
|
+
assert.strictEqual(typeof program.log, 'string');
|
|
106
|
+
assert.strictEqual(program.log, process.env.COUCH_LOG);
|
|
107
|
+
done();
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
it('respects the COUCH_RESUME env variable if the --resume backup command-line parameter is missing', function(done) {
|
|
111
|
+
process.argv = ['node', 'test'];
|
|
112
|
+
const program = parser.parseBackupArgs();
|
|
113
|
+
assert.strictEqual(typeof program.resume, 'boolean');
|
|
114
|
+
assert.strictEqual(program.resume, true);
|
|
115
|
+
done();
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
it('respects the COUCH_OUTPUT env variable if the --output backup command-line parameter is missing', function(done) {
|
|
119
|
+
process.argv = ['node', 'test'];
|
|
120
|
+
const program = parser.parseBackupArgs();
|
|
121
|
+
assert.strictEqual(typeof program.output, 'string');
|
|
122
|
+
assert.strictEqual(program.output, process.env.COUCH_OUTPUT);
|
|
123
|
+
done();
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
it('respects the COUCH_MODE env variable if the --mode backup command-line parameter is missing', function(done) {
|
|
127
|
+
process.argv = ['node', 'test'];
|
|
128
|
+
const program = parser.parseBackupArgs();
|
|
129
|
+
assert.strictEqual(typeof program.mode, 'string');
|
|
130
|
+
assert.strictEqual(program.mode, process.env.COUCH_MODE);
|
|
131
|
+
done();
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
it('respects the COUCH_QUIET env variable if the --quiet backup command-line parameter is missing', function(done) {
|
|
135
|
+
process.argv = ['node', 'test'];
|
|
136
|
+
const program = parser.parseBackupArgs();
|
|
137
|
+
assert.strictEqual(typeof program.quiet, 'boolean');
|
|
138
|
+
assert.strictEqual(program.quiet, true);
|
|
139
|
+
done();
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
it('respects the backup --url command-line parameter', function(done) {
|
|
143
|
+
const url = 'http://user:pass@myurl2.com';
|
|
144
|
+
process.argv = ['node', 'test', '--url', url];
|
|
145
|
+
const program = parser.parseBackupArgs();
|
|
146
|
+
assert.strictEqual(typeof program.url, 'string');
|
|
147
|
+
assert.strictEqual(program.url, url);
|
|
148
|
+
done();
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
it('respects the backup --db command-line parameter', function(done) {
|
|
152
|
+
const db = 'mydb2';
|
|
153
|
+
process.argv = ['node', 'test', '--db', db];
|
|
154
|
+
const program = parser.parseBackupArgs();
|
|
155
|
+
assert.strictEqual(typeof program.db, 'string');
|
|
156
|
+
assert.strictEqual(program.db, db);
|
|
157
|
+
done();
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
it('respects the backup --buffer-size command-line parameter', function(done) {
|
|
161
|
+
const bufferSize = 500;
|
|
162
|
+
process.argv = ['node', 'test', '--buffer-size', bufferSize];
|
|
163
|
+
const program = parser.parseBackupArgs();
|
|
164
|
+
assert.strictEqual(typeof program.bufferSize, 'number');
|
|
165
|
+
assert.strictEqual(program.bufferSize, bufferSize);
|
|
166
|
+
done();
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
it('respects the backup --parallelism command-line parameter', function(done) {
|
|
170
|
+
const parallelism = 10;
|
|
171
|
+
process.argv = ['node', 'test', '--parallelism', parallelism];
|
|
172
|
+
const program = parser.parseBackupArgs();
|
|
173
|
+
assert.strictEqual(typeof program.parallelism, 'number');
|
|
174
|
+
assert.strictEqual(program.parallelism, parallelism);
|
|
175
|
+
done();
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
it('respects the backup --request-timeout command-line parameter', function(done) {
|
|
179
|
+
const requestTimeout = 10000;
|
|
180
|
+
process.argv = ['node', 'test', '--request-timeout', requestTimeout];
|
|
181
|
+
const program = parser.parseBackupArgs();
|
|
182
|
+
assert.strictEqual(typeof program.requestTimeout, 'number');
|
|
183
|
+
assert.strictEqual(program.requestTimeout, requestTimeout);
|
|
184
|
+
done();
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
it('respects the backup --iam-api-key command-line parameter', function(done) {
|
|
188
|
+
const key = '123abc-789zyx_CBA987-XYZ321';
|
|
189
|
+
process.argv = ['node', 'test', '--iam-api-key', key];
|
|
190
|
+
const program = parser.parseBackupArgs();
|
|
191
|
+
assert.strictEqual(typeof program.iamApiKey, 'string');
|
|
192
|
+
assert.strictEqual(program.iamApiKey, key);
|
|
193
|
+
done();
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
it('respects the backup --log command-line parameter', function(done) {
|
|
197
|
+
const filename = 'my2.log';
|
|
198
|
+
process.argv = ['node', 'test', '--log', filename];
|
|
199
|
+
const program = parser.parseBackupArgs();
|
|
200
|
+
assert.strictEqual(typeof program.log, 'string');
|
|
201
|
+
assert.strictEqual(program.log, filename);
|
|
202
|
+
done();
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
it('respects the backup --resume command-line parameter', function(done) {
|
|
206
|
+
process.argv = ['node', 'test', '--resume'];
|
|
207
|
+
const program = parser.parseBackupArgs();
|
|
208
|
+
assert.strictEqual(typeof program.resume, 'boolean');
|
|
209
|
+
assert.strictEqual(program.resume, true);
|
|
210
|
+
done();
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
it('respects the backup --output command-line parameter', function(done) {
|
|
214
|
+
const filename = 'myfile2.txt';
|
|
215
|
+
process.argv = ['node', 'test', '--output', filename];
|
|
216
|
+
const program = parser.parseBackupArgs();
|
|
217
|
+
assert.strictEqual(typeof program.output, 'string');
|
|
218
|
+
assert.strictEqual(program.output, filename);
|
|
219
|
+
done();
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
it('respects the backup --mode full command-line parameter', function(done) {
|
|
223
|
+
process.argv = ['node', 'test', '--mode', 'full'];
|
|
224
|
+
const program = parser.parseBackupArgs();
|
|
225
|
+
assert.strictEqual(typeof program.mode, 'string');
|
|
226
|
+
assert.strictEqual(program.mode, 'full');
|
|
227
|
+
done();
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
it('respects the backup --mode shallow command-line parameter', function(done) {
|
|
231
|
+
process.argv = ['node', 'test', '--mode', 'shallow'];
|
|
232
|
+
const program = parser.parseBackupArgs();
|
|
233
|
+
assert.strictEqual(typeof program.mode, 'string');
|
|
234
|
+
assert.strictEqual(program.mode, 'shallow');
|
|
235
|
+
done();
|
|
236
|
+
});
|
|
237
|
+
|
|
238
|
+
it('respects the backup --quiet command-line parameter', function(done) {
|
|
239
|
+
process.argv = ['node', 'test', '--quiet'];
|
|
240
|
+
const program = parser.parseBackupArgs();
|
|
241
|
+
assert.strictEqual(typeof program.quiet, 'boolean');
|
|
242
|
+
assert.strictEqual(program.quiet, true);
|
|
243
|
+
done();
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
describe('Restore command-line', function() {
|
|
248
|
+
it('respects the COUCH_URL env variable if the --url restore command-line parameter is missing', function(done) {
|
|
249
|
+
process.argv = ['node', 'test'];
|
|
250
|
+
const program = parser.parseRestoreArgs();
|
|
251
|
+
assert.strictEqual(typeof program.url, 'string');
|
|
252
|
+
assert.strictEqual(program.url, process.env.COUCH_URL);
|
|
253
|
+
done();
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
it('respects the COUCH_DATABASE env variable if the --db restore command-line parameter is missing', function(done) {
|
|
257
|
+
process.argv = ['node', 'test'];
|
|
258
|
+
const program = parser.parseRestoreArgs();
|
|
259
|
+
assert.strictEqual(typeof program.db, 'string');
|
|
260
|
+
assert.strictEqual(program.db, process.env.COUCH_DATABASE);
|
|
261
|
+
done();
|
|
262
|
+
});
|
|
263
|
+
|
|
264
|
+
it('respects the COUCH_BUFFER_SIZE env variable if the --buffer-size restore command-line parameter is missing', function(done) {
|
|
265
|
+
process.argv = ['node', 'test'];
|
|
266
|
+
const program = parser.parseRestoreArgs();
|
|
267
|
+
assert.strictEqual(typeof program.bufferSize, 'number');
|
|
268
|
+
assert.strictEqual(program.bufferSize, parseInt(process.env.COUCH_BUFFER_SIZE, 10));
|
|
269
|
+
done();
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
it('respects the COUCH_PARALLELISM env variable if the --parallelism restore command-line parameter is missing', function(done) {
|
|
273
|
+
process.argv = ['node', 'test'];
|
|
274
|
+
const program = parser.parseRestoreArgs();
|
|
275
|
+
assert.strictEqual(typeof program.parallelism, 'number');
|
|
276
|
+
assert.strictEqual(program.parallelism, parseInt(process.env.COUCH_PARALLELISM, 10));
|
|
277
|
+
done();
|
|
278
|
+
});
|
|
279
|
+
|
|
280
|
+
it('respects the COUCH_REQUEST_TIMEOUT env variable if the --request-timeout restore command-line parameter is missing', function(done) {
|
|
281
|
+
process.argv = ['node', 'test'];
|
|
282
|
+
const program = parser.parseRestoreArgs();
|
|
283
|
+
assert.strictEqual(typeof program.requestTimeout, 'number');
|
|
284
|
+
assert.strictEqual(program.requestTimeout, parseInt(process.env.COUCH_REQUEST_TIMEOUT, 10));
|
|
285
|
+
done();
|
|
286
|
+
});
|
|
287
|
+
|
|
288
|
+
it('respects the CLOUDANT_IAM_API_KEY env variable if the --iam-api-key restore command-line parameter is missing', function(done) {
|
|
289
|
+
process.argv = ['node', 'test'];
|
|
290
|
+
const program = parser.parseRestoreArgs();
|
|
291
|
+
assert.strictEqual(typeof program.iamApiKey, 'string');
|
|
292
|
+
assert.strictEqual(program.iamApiKey, process.env.CLOUDANT_IAM_API_KEY);
|
|
293
|
+
done();
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
it('respects the COUCH_QUIET env variable if the --quiet restorer command-line parameter is missing', function(done) {
|
|
297
|
+
process.argv = ['node', 'test'];
|
|
298
|
+
const program = parser.parseBackupArgs();
|
|
299
|
+
assert.strictEqual(typeof program.quiet, 'boolean');
|
|
300
|
+
assert.strictEqual(program.quiet, true);
|
|
301
|
+
done();
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
it('respects the restore --url command-line parameter', function(done) {
|
|
305
|
+
const url = 'https://a:b@myurl3.com';
|
|
306
|
+
process.argv = ['node', 'test', '--url', url];
|
|
307
|
+
const program = parser.parseRestoreArgs();
|
|
308
|
+
assert.strictEqual(typeof program.url, 'string');
|
|
309
|
+
assert.strictEqual(program.url, url);
|
|
310
|
+
done();
|
|
311
|
+
});
|
|
312
|
+
|
|
313
|
+
it('respects the restore --db command-line parameter', function(done) {
|
|
314
|
+
const db = 'mydb3';
|
|
315
|
+
process.argv = ['node', 'test', '--db', db];
|
|
316
|
+
const program = parser.parseRestoreArgs();
|
|
317
|
+
assert.strictEqual(typeof program.db, 'string');
|
|
318
|
+
assert.strictEqual(program.db, db);
|
|
319
|
+
done();
|
|
320
|
+
});
|
|
321
|
+
|
|
322
|
+
it('respects the restore --buffer-size command-line parameter', function(done) {
|
|
323
|
+
const bufferSize = 250;
|
|
324
|
+
process.argv = ['node', 'test', '--buffer-size', bufferSize];
|
|
325
|
+
const program = parser.parseRestoreArgs();
|
|
326
|
+
assert.strictEqual(typeof program.bufferSize, 'number');
|
|
327
|
+
assert.strictEqual(program.bufferSize, bufferSize);
|
|
328
|
+
done();
|
|
329
|
+
});
|
|
330
|
+
|
|
331
|
+
it('respects the restore --parallelism command-line parameter', function(done) {
|
|
332
|
+
const parallelism = 5;
|
|
333
|
+
process.argv = ['node', 'test', '--parallelism', parallelism];
|
|
334
|
+
const program = parser.parseRestoreArgs();
|
|
335
|
+
assert.strictEqual(typeof program.parallelism, 'number');
|
|
336
|
+
assert.strictEqual(program.parallelism, parallelism);
|
|
337
|
+
done();
|
|
338
|
+
});
|
|
339
|
+
|
|
340
|
+
it('respects the restore --request-timeout command-line parameter', function(done) {
|
|
341
|
+
const requestTimeout = 10000;
|
|
342
|
+
process.argv = ['node', 'test', '--request-timeout', requestTimeout];
|
|
343
|
+
const program = parser.parseRestoreArgs();
|
|
344
|
+
assert.strictEqual(typeof program.requestTimeout, 'number');
|
|
345
|
+
assert.strictEqual(program.requestTimeout, requestTimeout);
|
|
346
|
+
done();
|
|
347
|
+
});
|
|
348
|
+
|
|
349
|
+
it('respects the restore --iam-api-key command-line parameter', function(done) {
|
|
350
|
+
const key = '123abc-789zyx_CBA987-XYZ321';
|
|
351
|
+
process.argv = ['node', 'test', '--iam-api-key', key];
|
|
352
|
+
const program = parser.parseRestoreArgs();
|
|
353
|
+
assert.strictEqual(typeof program.iamApiKey, 'string');
|
|
354
|
+
assert.strictEqual(program.iamApiKey, key);
|
|
355
|
+
done();
|
|
356
|
+
});
|
|
357
|
+
|
|
358
|
+
it('respects the restore --quiet command-line parameter', function(done) {
|
|
359
|
+
process.argv = ['node', 'test', '--quiet'];
|
|
360
|
+
const program = parser.parseRestoreArgs();
|
|
361
|
+
assert.strictEqual(typeof program.quiet, 'boolean');
|
|
362
|
+
assert.strictEqual(program.quiet, true);
|
|
363
|
+
done();
|
|
364
|
+
});
|
|
365
|
+
});
|
|
366
|
+
});
|