Scénario de test & Cas d'usage
This action is for server monitoring. No data preparation is required. The test simulates a scenario where a `addNode` command for 10 workers has just been issued.
| 1 | /* No |
| 2 | data creation is necessary. The focus is on capturing the action's output programmatically. */ |
| 1 | |
| 2 | PROC CAS; |
| 3 | |
| 4 | |
| 5 | SESSION.addNodeStatus RESULT=bulkAddStatus; |
| 6 | |
| 7 | RUN; |
| 8 |
| 1 | PROC CAS; |
| 2 | PRINT bulkAddStatus; |
| 3 | RUN; |
The 'bulkAddStatus' CASL variable should contain a dictionary with a key (e.g., 'addNodeStatus') pointing to a table. This table is expected to have 10 rows, one for each new worker node. The administrator can then loop through this table in a subsequent CASL step to verify that all 10 nodes have reached a 'connected' or similar successful state, confirming the success of the bulk operation.