Skip to content

Commit e547f53

Browse files
committed
chore: remove integraion tests
1 parent ff0adac commit e547f53

File tree

2 files changed

+2
-189
lines changed

2 files changed

+2
-189
lines changed

tests-integration/test.sh

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ wait_for_port() {
2020
local port=$1
2121
local timeout=30
2222
local count=0
23-
23+
2424
# Use netstat as fallback if lsof is not available
2525
while (lsof -Pi :$port -sTCP:LISTEN -t >/dev/null 2>&1) || (netstat -ln 2>/dev/null | grep ":$port " >/dev/null 2>&1); do
2626
if [ $count -ge $timeout ]; then
@@ -120,32 +120,6 @@ fi
120120
kill -9 $PARQUET_PID 2>/dev/null || true
121121
sleep 3
122122

123-
# Test 4: Role-Based Access Control
124-
echo ""
125-
echo "🔐 Test 4: Role-Based Access Control (RBAC)"
126-
echo "--------------------------------------------"
127-
wait_for_port 5435
128-
../target/debug/datafusion-postgres-cli -p 5435 --csv delhi:delhiclimate.csv &
129-
RBAC_PID=$!
130-
sleep 5
131-
132-
# Check if server is actually running
133-
if ! ps -p $RBAC_PID > /dev/null 2>&1; then
134-
echo "❌ RBAC server failed to start"
135-
exit 1
136-
fi
137-
138-
if python3 test_rbac.py; then
139-
echo "✅ RBAC test passed"
140-
else
141-
echo "❌ RBAC test failed"
142-
kill -9 $RBAC_PID 2>/dev/null || true
143-
exit 1
144-
fi
145-
146-
kill -9 $RBAC_PID 2>/dev/null || true
147-
sleep 3
148-
149123
# Test 5: SSL/TLS Security
150124
echo ""
151125
echo "🔒 Test 5: SSL/TLS Security Features"
@@ -177,12 +151,10 @@ echo "=========================================="
177151
echo ""
178152
echo "📈 Test Summary:"
179153
echo " ✅ Enhanced CSV data loading with PostgreSQL compatibility"
180-
echo " ✅ Complete transaction support (BEGIN/COMMIT/ROLLBACK)"
154+
echo " ✅ Complete transaction support (BEGIN/COMMIT/ROLLBACK)"
181155
echo " ✅ Enhanced Parquet data loading with advanced data types"
182156
echo " ✅ Array types and complex data type support"
183157
echo " ✅ Improved pg_catalog system tables"
184158
echo " ✅ PostgreSQL function compatibility"
185-
echo " ✅ Role-based access control (RBAC)"
186159
echo " ✅ SSL/TLS encryption support"
187160
echo ""
188-
echo "🚀 Ready for secure production PostgreSQL workloads!"

tests-integration/test_rbac.py

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)