From 4ae26547dbd221910dcda10800042f4313464dd5 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Sat, 17 May 2025 10:53:19 -0400 Subject: [PATCH] Remove file not intended to be in repo --- response.json | 1 - run-integration-tests.sh | 59 ---------------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 response.json delete mode 100755 run-integration-tests.sh diff --git a/response.json b/response.json deleted file mode 100644 index 3a9adc25f..000000000 --- a/response.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"msg_bdrk_01Q7dCYZucVfVy6vJej5f4Wo","type":"message","role":"assistant","model":"claude-3-5-sonnet-20240620","content":[{"type":"text","text":"Hello! How can I assist you today? Feel free to ask any questions or let me know if you need help with anything."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":8,"output_tokens":29}} \ No newline at end of file diff --git a/run-integration-tests.sh b/run-integration-tests.sh deleted file mode 100755 index 5fdc16847..000000000 --- a/run-integration-tests.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash - -# Store the root directory (where mvnw is located) -ROOT_DIR="$(pwd)" - -# Check if we're in the correct directory -if [ ! -f "./mvnw" ]; then - echo "Error: Must be run from directory containing mvnw" - exit 1 -fi - -# Check if vector-store directory exists -if [ ! -d "./vector-stores" ]; then - echo "Error: vector-stores directory not found" - exit 1 -fi - -# Function to log with timestamp -log() { - echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" -} - -# Get list of directories -log "Finding directories under ./vector-store" -directories=$(find ./vector-stores -type d -mindepth 1) - -if [ -z "$directories" ]; then - log "No directories found under ./vector-stores" - exit 1 -fi - -# Print found directories -log "Found directories:" -echo "$directories" | sed 's/^/ /' - -# Process each directory -while IFS= read -r dir; do - log "Processing directory: $dir" - cd "$dir" || continue - - log "Running Maven integration tests for $dir" - # Use the mvnw from the root directory - "$ROOT_DIR/mvnw" package -Pintegration-tests - - build_status=$? - if [ $build_status -eq 0 ]; then - log "Maven build completed successfully for $dir" - else - log "Maven build failed for $dir" - # Return to root directory before exiting - cd "$ROOT_DIR" - exit 1 - fi - - # Return to root directory for next iteration - cd "$ROOT_DIR" -done <<< "$directories" - -log "All directories processed successfully"