mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 06:20:48 +02:00
fuse integration: align the posix docs with the suite
The doc listed a docker-test-posix target and make variables that do not exist, and ran go test against single files that cannot compile alone. The roadmap also still claimed the platform-specific tests this suite now implements were all skipped. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
cd90b32a83
commit
4fa56e2358
2 files changed
+19
-27
No files matched your search
@@ -340,8 +340,7 @@ make -f posix_Makefile test-nfstest-posix
|
||||
sudo usermod -a -G fuse $USER
|
||||
# Re-login or run: newgrp fuse
|
||||
|
||||
# Check mount options
|
||||
make -f posix_Makefile test-posix-basic MOUNT_OPTIONS="-allowOthers"
|
||||
# Mount with -allowOthers if other users need access (test config MountOptions)
|
||||
```
|
||||
|
||||
#### Extended Attributes Not Supported
|
||||
@@ -366,14 +365,14 @@ getfattr --version
|
||||
### Debug Mode
|
||||
|
||||
```bash
|
||||
# Run tests with verbose output
|
||||
make -f posix_Makefile test-posix-basic VERBOSE=1
|
||||
# Test targets already run go test -v and keep logs under reports/
|
||||
make -f posix_Makefile test-posix-basic
|
||||
|
||||
# Keep test files for inspection
|
||||
make -f posix_Makefile test-posix-basic CLEANUP=false
|
||||
# Run against an existing external mount instead of a fresh cluster
|
||||
make -f posix_Makefile test-posix-basic TEST_MOUNT_POINT=/path/to/mount
|
||||
|
||||
# Enable debug logging
|
||||
make -f posix_Makefile test-posix-basic DEBUG=true
|
||||
# Extend the 45-minute per-suite timeout
|
||||
make -f posix_Makefile test-posix-full TEST_TIMEOUT=90m
|
||||
```
|
||||
|
||||
### Manual Test Execution
|
||||
@@ -381,10 +380,10 @@ make -f posix_Makefile test-posix-basic DEBUG=true
|
||||
```bash
|
||||
# Run specific test
|
||||
cd test/fuse_integration
|
||||
go test -v -run TestPOSIXCompliance/FileOperations posix_compliance_test.go
|
||||
go test -v -run 'TestPOSIXCompliance/FileOperations' .
|
||||
|
||||
# Run with custom timeout
|
||||
go test -v -timeout 30m -run TestPOSIXExtended posix_extended_test.go
|
||||
go test -v -timeout 30m -run TestPOSIXExtended .
|
||||
```
|
||||
|
||||
## 🔄 CI/CD Integration
|
||||
@@ -459,14 +458,6 @@ pipeline {
|
||||
}
|
||||
```
|
||||
|
||||
### Docker-based Testing
|
||||
|
||||
```bash
|
||||
# Build Docker image for testing
|
||||
cd test/fuse_integration
|
||||
make -f posix_Makefile docker-test-posix
|
||||
```
|
||||
|
||||
## 🎯 POSIX Compliance Checklist
|
||||
|
||||
### Critical POSIX Features
|
||||
|
||||
Reference in new issue
Block a user