Browse Source

clean up

pull/7508/head
chrislu 2 weeks ago
parent
commit
00422b40a9
  1. 5
      test/s3/parquet/Makefile
  2. 3
      test/s3/parquet/test_sse_s3_compatibility.py

5
test/s3/parquet/Makefile

@ -401,9 +401,10 @@ test-native-s3-with-server: build-weed setup-python
exit 1; \ exit 1; \
fi fi
# Test PyArrow's native S3 filesystem with SSE-S3 encryption
# Test PyArrow's native S3 filesystem compatibility with SSE-S3 enabled backend
# (For encryption-specific validation, use test-sse-s3-compat)
test-native-s3-with-sse: build-weed setup-python test-native-s3-with-sse: build-weed setup-python
@echo "🚀 Starting PyArrow native S3 filesystem tests with SSE-S3 encryption..."
@echo "🚀 Testing PyArrow native S3 compatibility with SSE-S3 enabled backend..."
@echo "Starting SeaweedFS cluster with SSE-S3 enabled..." @echo "Starting SeaweedFS cluster with SSE-S3 enabled..."
@if $(MAKE) start-seaweedfs-ci ENABLE_SSE_S3=true > weed-test-sse.log 2>&1; then \ @if $(MAKE) start-seaweedfs-ci ENABLE_SSE_S3=true > weed-test-sse.log 2>&1; then \
echo "✅ SeaweedFS cluster started successfully with SSE-S3"; \ echo "✅ SeaweedFS cluster started successfully with SSE-S3"; \

3
test/s3/parquet/test_sse_s3_compatibility.py

@ -28,7 +28,6 @@ import os
import secrets import secrets
import sys import sys
import logging import logging
from datetime import datetime
from typing import Optional from typing import Optional
import pyarrow as pa import pyarrow as pa
@ -165,7 +164,7 @@ def test_write_read_with_sse(
format="parquet", format="parquet",
) )
logging.info(f" Reading back...")
logging.info(" Reading back...")
table_read = pq.read_table(filename, filesystem=s3) table_read = pq.read_table(filename, filesystem=s3)
if table_read.num_rows != num_rows: if table_read.num_rows != num_rows:

Loading…
Cancel
Save