Fix runInBand arg ignored on Windows + Node 22 #10006
Annotations
10 errors
Integration Tests (Daemon):
packages/cli/__tests__/zosjobs/__integration__/submit/data-set/cli.zos-jobs.submit.data-set.integration.test.ts#L76
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at Object.<anonymous> (packages/cli/__tests__/zosjobs/__integration__/submit/data-set/cli.zos-jobs.submit.data-set.integration.test.ts:76:37)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts#L40
expect(received).toMatchSnapshot()
Snapshot name: `Upload directory to PDS should display the help 1`
- Snapshot - 180
+ Received + 2
================ Z/OS FILES UPLOAD DIRECTORY HELP ===============
-
- COMMAND NAME
- ------------
-
- dir-to-pds | dtp
-
- DESCRIPTION
- -----------
-
- Upload files from a local directory to a partitioned data set (PDS).
-
- USAGE
- -----
-
- zowe zos-files upload dir-to-pds <inputdir> <dataSetName> [options]
-
- POSITIONAL ARGUMENTS
- --------------------
-
- inputdir (string)
-
- The path for a local directory that you want to upload to a PDS
-
- dataSetName (string)
-
- The name of the partitioned data set to which you want to upload the files
-
- OPTIONS
- -------
-
- --binary | -b (boolean)
-
- Data content in binary mode, which means that no data conversion is performed.
- The data transfer process returns each record as-is, without translation. No
- delimiters are added between records.
-
- --encoding | --ec (string)
-
- Data content in encoding mode, which means that data conversion is performed
- according to the encoding specified.
-
- --migrated-recall | --mr (string)
-
- The method by which migrated data set is handled. By default, a migrated data
- set is recalled synchronously. You can specify the following values: wait,
- nowait, error
-
- Default value: nowait
-
- --record | -r (boolean)
-
- Data content in record mode, which means that no data conversion is performed
- and the record length is prepended to the data. The data transfer process
- returns each line as-is, without translation. No delimiters are added between
- records. Conflicts with binary.
-
- --volume-serial | --vs (string)
-
- The volume serial (VOLSER) where the data set resides. You can use this option
- at any time. However, the VOLSER is required only when the data set is not
- cataloged on the system. A VOLSER is analogous to a drive name on a PC.
-
- --response-timeout | --rto (number)
-
- The maximum amount of time in seconds the z/OSMF Files TSO servlet should run
- before returning a response. Any request exceeding this amount of time will be
- terminated and return an error. Allowed values: 5 - 600
-
- ZOSMF CONNECTION OPTIONS
- ------------------------
-
- --host | -H (string)
-
- The z/OSMF server host name.
-
- --port | -P (number)
-
- The z/OSMF server port.
-
- Default value: 443
-
- --user | -u (string)
-
- Mainframe (z/OSMF) user name, which can be the same as your TSO login.
-
- --password | --pass | --pw (string)
-
- Mainframe (z/OSMF) password, which can be the same as your TSO password.
-
- --reject-unauthorized | --ru (boolean)
-
- Reject self-signed certificates.
-
- Default value: true
-
- --base-path | --bp (string)
-
- The base path for your API mediation layer instance. Specify this option to
- prepend the base path to all z/OSMF resources when making REST requests. Do not
- specify this option if you are not using an API mediation layer.
-
- --protocol (string)
-
- The protocol used (HTTP or HTTPS)
-
- Default value: https
- Allowed values: http, https
-
- --cert-file (local file path)
-
- The file path to a certificate file to use for authentication
-
- --cert-key-file (local file path)
-
- The file path to a certificate key file to use for authentication
-
- PROFILE OPTIONS
- ---------------
-
- --zosmf-profile | --zosmf-p (string)
-
- The name of a (zosmf) profile to load for this command execution.
-
- --base-profile | --base-p (string)
-
- The name of a (base) profile to load for this command execution.
-
- BASE CONNECTION OPTIONS
- -----------------------
-
- --token-type | --tt (string)
-
- The type of token to get and use for the API. Omit this option to use the
- default token type, which is provided by 'zowe auth login'.
-
- --token-v
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts#L47
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:47:37
at packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:44:74)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts#L57
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:57:37
at packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/upload/dtp/cli.files.upload.dtp.integration.test.ts:53:70)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts#L40
expect(received).toMatchSnapshot()
Snapshot name: `Upload local dir to uss dir should display the help 1`
- Snapshot - 257
+ Received + 1
================ Z/OS FILES UPLOAD LOCAL DIRECTORY TO USS DIRECTORY HELP===============
-
- COMMAND NAME
- ------------
-
- dir-to-uss | dtu
-
- DESCRIPTION
- -----------
-
- Upload a local directory to a USS directory.
-
- An optional .zosattributes file in the source directory can be used to control
- file conversion and tagging.
-
- An example .zosattributes file:
- # pattern local-encoding remote-encoding
- # Don't upload the node_modules directory
- node_modules -
- # Don't upload files that start with periods
- .* -
- # Upload jpg images in binary
- *.jpg binary binary
- # Convert CICS Node.js profiles to EBCDIC
- *.profile ISO8859-1 EBCDIC
-
- Lines starting with the ‘#’ character are comments. Each line can specify up to
- three positional attributes:
- A pattern to match a set of files. Pattern-matching syntax follows
- the same rules as those that apply in .gitignore files (note that negated
- patterns that begin with ‘!’ are not supported). See
- https://git-scm.com/docs/gitignore#_pattern_format.
- A local-encoding to identify a file’s encoding on the local
- workstation. If '-' is specified for local-encoding,files that match the pattern
- are not transferred.
- A remote-encoding to specify the file’s desired character set on USS.
- This attribute must either match the local encoding or be set to EBCDIC. If set
- to EBCDIC, files are transferred in text mode and converted, otherwise they are
- transferred in binary mode. Remote files are tagged either with the remote
- encoding or as binary.
-
- A .zosattributes file can either be placed in the top-level directory you want
- to upload, or its location can be specified by using the --attributes parameter.
- .zosattributes files that are placed in nested directories are ignored.
-
-
- USAGE
- -----
-
- zowe zos-files upload dir-to-uss <inputDir> <USSDir> [options]
-
- POSITIONAL ARGUMENTS
- --------------------
-
- inputDir (string)
-
- The local directory path that you want to upload to a USS directory
-
- USSDir (string)
-
- The name of the USS directory to which you want to upload the local directory
-
- OPTIONS
- -------
-
- --binary | -b (boolean)
-
- Data content in binary mode, which means that no data conversion is performed.
- The data transfer process returns each record as-is, without translation. No
- delimiters are added between records.
-
- --recursive | -r (boolean)
-
- Upload all directories recursively.
-
- --binary-files | --bf (string)
-
- Comma separated list of file names to be uploaded in binary mode. Use this
- option when you upload a directory in default ASCII mode, but you want to
- specify certain files to be uploaded in binary mode. All files matching
- specified file names will be uploaded in binary mode. If a .zosattributes file
- (or equivalent file specified via --attributes) is present, --binary-files will
- be ignored.
-
- --ascii-files | --af (string)
-
- Comma separated list of file names to be uploaded in ASCII mode. Use this option
- when you upload a directory with --binary/-b flag, but you want to specify
- certain files to be uploaded in ASCII mode. All files matching specified file
- names will be uploaded in ASCII mode. If a .zosattributes file (or equivalent
- file specified via --attributes) is present, --ascii-files will be ignored.
-
- --attributes | --attrs (string)
-
- Path of an attributes file to control how files are uploaded.
-
- --max-concurrent-requests | --mcr (number)
-
- Specifies the maximum number of concurrent z/OSMF REST API requests to upload
- files. Increasing the value results in faster uploads. However, increasing the
-
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts#L47
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:47:37
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:44:69)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts#L57
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:57:37
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:53:67)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts#L65
expect(received).toContain(expected) // indexOf
Expected substring: "no such file or directory"
Received string: ""
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:65:63
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:62:92)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts#L50
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts:50:33)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts#L60
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts:60:33
at packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts:57:62)
|
Loading