1.3 KiB
1.3 KiB
SuiteLink Integration Tests
These tests are intentionally safe by default and run only when explicitly enabled.
Enable
Set:
SUITELINK_IT_ENABLED=true
Required connection variables:
SUITELINK_IT_HOSTSUITELINK_IT_APPLICATIONSUITELINK_IT_TOPICSUITELINK_IT_CLIENT_NAMESUITELINK_IT_CLIENT_NODESUITELINK_IT_USER_NAMESUITELINK_IT_SERVER_NODE
Optional connection variables:
SUITELINK_IT_PORT(default5413)SUITELINK_IT_TIMEZONE(defaults toUTCviaSuiteLinkConnectionOptions)
Optional tag variables (tests run only for the tags provided):
SUITELINK_IT_BOOL_TAGSUITELINK_IT_INT_TAGSUITELINK_IT_FLOAT_TAGSUITELINK_IT_STRING_TAG
Notes
- If integration settings are missing, tests return immediately and do not perform network calls.
- These tests are intended as a live harness, not deterministic CI tests.
- The client runtime now uses a background receive loop with automatic reconnect, durable subscription replay, and optional best-effort latest-value catch-up replay after reconnect.
- Reconnect timing is policy-based and jittered by default.
- These live tests still need validation against a real AVEVA server that allows legacy or mixed-mode SuiteLink traffic.
- Writes are intentionally rejected while the client is in
Reconnecting.