INNER CODE UNIT · Java
attempt
geoserver/geoserver-cloud · acceptance_tests/run_tests_locally.sh:110
attempt=$((attempt + 1))
echo " Attempt $attempt/$max_attempts - waiting 5 seconds..."
sleep 5
done
if [ $attempt -eq $max_attempts ]; then
echo "✗ Timeout: GeoServer did not become available at $GEOSERVER_URL/rest/workspaces"
echo " Please ensure the services are running with: cd ../compose && ./acceptance_datadir up -d"
exit 1
fi
echo ""
# Check if virtual environment is activated
if [[ -n "$VIRTUAL_ENV" ]]; then
echo "Using activated virtual environment..."
# Check if pytest is available
if ! command -v pytest &> /dev/null; then