Skip to content

Commit 978bf41

Browse files
committed
Update support-bundle test for fda CLI
Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>
1 parent 8d23f7f commit 978bf41

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ RUN apt-get update --fix-missing && \
3030
ca-certificates \
3131
gnupg \
3232
protobuf-compiler \
33-
git
33+
git \
34+
jq
3435

3536
## Setup Java and Python
3637

crates/fda/test.bash

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ fi
161161
# Count files in the ZIP and verify we have multiple files (manifest + data files)
162162
# this counts one more than what is in the archive
163163
file_count=$(unzip -l test-support-bundle-full.zip | grep -E "^\s*[0-9]+" | wc -l)
164-
if [ "$file_count" -lt 8 ]; then
165-
echo "Expected at least 7 files in support bundle (manifest.txt + data files +/- the heap profile which doesnt work on macos), found $file_count"
164+
if [ "$file_count" -lt 9 ]; then
165+
echo "Expected at least 8 files in support bundle (manifest.txt + data files +/- the heap profile which doesnt work on macos), found $file_count"
166166
unzip -l test-support-bundle-full.zip
167167
exit 1
168168
fi
@@ -176,6 +176,7 @@ fda support-bundle p1 \
176176
--no-stats \
177177
--no-pipeline-config \
178178
--no-system-config \
179+
--no-dataflow-graph \
179180
-o test-support-bundle-none.zip
180181

181182
# Verify the ZIP file exists and check its contents

0 commit comments

Comments
 (0)