Modules§
Enums§
Constants§
Functions§
- collect_
btree - config_
override_ name - Create config adding fullnameOverride entry. This allows multiple tests to be run against the same cluster without the role names clashing.
- create_
affinity_ pod - Create a pod for our other pods to have an affinity to ensure they are all deployed on the same node.
- generate_
long_ string - get_
namespace - get_
namespace_ appended - get_
override_ name - Gets a name we can use for roles to prevent them conflicting with other tests. Uses the provided namespace as the root.
- init
- is_
multinode - Is the MULTINODE environment variable set?
- look_
for_ log_ line - make_
framework - make_
test_ container - make_
test_ pod - make_
test_ pod_ with_ affinity - Since the tests only scan the logs from an agent on a single node, we want to make sure that all the test pods are on the same node so the agent picks them all.
- make_
test_ pod_ with_ containers - parse_
json - smoke_
check_ first_ line - Read the first line from vector logs and assert that it matches the expected one. This allows detecting the situations where things have gone very wrong.