Initial project import
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
param(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string[]]$BaseId,
|
||||
[string]$AdapterUrl = "http://docker-gpu.cin.su:8011",
|
||||
[string]$AdapterUrl = "http://docker.cin.su:8011",
|
||||
[string]$McpUrl = "http://docker.cin.su:8021",
|
||||
[string]$ObjectRef,
|
||||
[string]$ObjectKind,
|
||||
@@ -554,6 +554,28 @@ try {
|
||||
Assert-SavedStateChangesReport -Label "REST adapter saved-state changes smoke ($currentBaseId)" -Path $savedStateChangesReport
|
||||
}
|
||||
|
||||
# This is the regression for the extension first-write path. It
|
||||
# is deliberately restricted to the disposable authorised base:
|
||||
# the smoke creates one ConfigCASSave row and removes it again by
|
||||
# the opaque receipt before returning.
|
||||
if ($currentBaseId -eq "upo_test") {
|
||||
$extensionPrepareReport = Join-Path $reportDir "extension-saved-state-prepare-smoke.json"
|
||||
$extensionPrepareCommand = @(
|
||||
"python",
|
||||
"scripts/smoke_1c_extension_saved_state_prepare.py",
|
||||
"--base-url",
|
||||
$AdapterUrl,
|
||||
"--base-id",
|
||||
$currentBaseId,
|
||||
"--timeout",
|
||||
$TimeoutSec.ToString(),
|
||||
"--report",
|
||||
$extensionPrepareReport,
|
||||
"--apply"
|
||||
)
|
||||
Invoke-CheckedCommand -Label "REST adapter extension saved-state prepare smoke ($currentBaseId)" -Command $extensionPrepareCommand
|
||||
}
|
||||
|
||||
if (-not $SkipSavedStateWriteSmoke) {
|
||||
$readinessReport = Join-Path $reportDir "saved-state-strict-readiness.json"
|
||||
$readinessCommand = @(
|
||||
|
||||
Reference in New Issue
Block a user