-
Notifications
You must be signed in to change notification settings - Fork 98
Push v3 results to QE grafana dashboard #1216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@@ -32,19 +33,22 @@ func (s *AuxiliaryTestSuite) SetupSuite() { | |||
t := s.T() | |||
// Expect errors in logs should be false for recconnection tests | |||
// For now for these test we will skip checking the logs for errors | |||
slog.Info("starting auxiliary command server tests") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would t.Log()
work instead of using slog for these or does the dashbaord need them to be slog ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or is there a way to have the test Suite handle the the log message in the setup so its not needed for every test ?
set -euo pipefail | ||
|
||
# Check if required arguments are provided | ||
if [ $# -lt 3 ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [ $# -lt 3 ]; then | |
if [ "$#" -ne 3 ]; then |
|
||
# Validate input file exists | ||
if [ ! -f "$INPUT_FILE" ]; then | ||
echo "Error: Input file $INPUT_FILE does not exist." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "Error: Input file $INPUT_FILE does not exist." | |
echo "Error: Input file not found: $INPUT_FILE" |
fi | ||
|
||
format_log() { | ||
local line="$1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be local?
Proposed changes
Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentmake install-tools
and have attached any dependency changes to this pull requestREADME.md
)