-
Notifications
You must be signed in to change notification settings - Fork 105
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
OCPBUGS-28647: tuned: operand: add support for deferred updates #1019
Changes from all commits
cd043a0
6808023
ba0275c
edf4168
9cd62e6
8c5f349
f064dca
d15261d
7c9c040
09a5766
48628da
ce625d2
c8ce073
b7b492a
73855b9
d0a690a
c64fcfe
426451a
c9d9c78
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
PREFIX="pao-build-e2e-" | ||
SUITEPATH="./test/e2e/performanceprofile/functests" | ||
TARGET=$1 | ||
|
||
if [ -z "$TARGET" ]; then | ||
echo "usage: $0 suite" | ||
echo "example: $0 1_performance" | ||
exit 1 | ||
fi | ||
|
||
OUTDIR="${2:-_output}" | ||
|
||
if [ ! -d "$SUITEPATH/$TARGET" ]; then | ||
echo "unknown suite: $TARGET" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: I'd argue that multi-line output provides better readability when using a here document, but feel free to keep this if you disagree. Similarly elsewhere. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. right, but better to do this in a separate PR |
||
echo -e "must be one of:\n$( ls $SUITEPATH | grep -E '[0-9]+_.*' )" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to match the numbers at the beginning? I.e. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto: right, but better to do this in a separate PR |
||
exit 2 | ||
fi | ||
|
||
SUITE="${SUITEPATH}/${TARGET}" | ||
SUFFIX=$( echo $TARGET | cut -d_ -f2- ) | ||
BASENAME="e2e-pao" | ||
EXTENSION="test" | ||
OUTPUT="${BASENAME}-${SUFFIX}.${EXTENSION}" | ||
|
||
echo "${SUITE} -> ${OUTDIR}/${OUTPUT}" | ||
go test -c -v -o ${OUTDIR}/${OUTPUT} ${SUITE} |
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.
I'm not sure I understand why we need to depend on $(BINDATA) for e2e tests, could you please explain?
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.
it's because the
deferred
tests importpkg/manifests
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.
+1 for that. it causes me issues as well