Add unit tests for flux logs
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
6
cmd/flux/testdata/logs/all-logs.txt
vendored
Normal file
6
cmd/flux/testdata/logs/all-logs.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
2022-08-02T12:55:34.419Z info GitRepository/podinfo.default - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:04.679Z error GitRepository/flux-system.flux-system - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z error Kustomization/flux-system.flux-system - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z info Kustomization/podinfo.default - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z info GitRepository/podinfo.default - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z error Kustomization/podinfo.flux-system - no changes since last reconcilation: observed revision
|
||||
2
cmd/flux/testdata/logs/kind.txt
vendored
Normal file
2
cmd/flux/testdata/logs/kind.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
2022-08-02T12:56:34.961Z error Kustomization/flux-system.flux-system - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z error Kustomization/podinfo.flux-system - no changes since last reconcilation: observed revision
|
||||
3
cmd/flux/testdata/logs/log-level.txt
vendored
Normal file
3
cmd/flux/testdata/logs/log-level.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
2022-08-02T12:56:04.679Z error GitRepository/flux-system.flux-system - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z error Kustomization/flux-system.flux-system - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z error Kustomization/podinfo.flux-system - no changes since last reconcilation: observed revision
|
||||
1
cmd/flux/testdata/logs/multiple-filters.txt
vendored
Normal file
1
cmd/flux/testdata/logs/multiple-filters.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
2022-08-02T12:56:34.961Z error Kustomization/podinfo.flux-system - no changes since last reconcilation: observed revision
|
||||
3
cmd/flux/testdata/logs/namespace.txt
vendored
Normal file
3
cmd/flux/testdata/logs/namespace.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
2022-08-02T12:55:34.419Z info GitRepository/podinfo.default - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z info Kustomization/podinfo.default - no changes since last reconcilation: observed revision
|
||||
2022-08-02T12:56:34.961Z info GitRepository/podinfo.default - no changes since last reconcilation: observed revision
|
||||
Reference in New Issue
Block a user