Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/stackql/cmd/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ var shellCmd = &cobra.Command{
fmt.Sprintf(
"Error setting up handler context for provider '%s': \"%s\"",
runtimeCtx.ProviderStr, handlerrErr))
iqlerror.PrintErrorAndExitOneIfError(handlerrErr)
}
var authCtx *dto.AuthCtx
var prov provider.IProvider
Expand Down
14 changes: 14 additions & 0 deletions test/robot/functional/stackql_sessions.robot
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,20 @@ Shell Session Multi Line Semicolon Terminated
... stdout=${CURDIR}/tmp/Shell-Session-Multi-Line-Semicolon-Terminated.tmp
[Teardown] Stackql Per Test Teardown

Shell Session Invalid Registry Config Exits Cleanly
Pass Execution If "${IS_WINDOWS}" == "1" Skipping session test in windows
Pass Execution If "${EXECUTION_PLATFORM}" == "docker" Skipping readline verification in docker
${input} = Catenate
... "${STACKQL_EXE}" shell "--registry=/not/valid/yaml/registry/config" "--tls.allowInsecure=true" "--approot=test/.stackql" "--execution.concurrency.limit=${CONCURRENCY_LIMIT}"
${result} = Run Process
... sh \-c ${input}
... stdout=${CURDIR}/tmp/Shell-Session-Invalid-Registry-Config-Exits-Cleanly.tmp
... stderr=${CURDIR}/tmp/Shell-Session-Invalid-Registry-Config-Exits-Cleanly-stderr.tmp
Should Be Equal As Integers ${result.rc} 1
Should Contain ${result.stderr} cannot unmarshal
Should Not Contain ${result.stderr} panic
[Teardown] NONE

PG Session GC Manual Behaviour Canonical
Should PG Client Session Inline Equal Strict
... ${PSQL_MTLS_CONN_STR_UNIX}
Expand Down
Loading