You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 days ago | |
|---|---|---|
| .. | ||
| README.md | 2 days ago | |
| user_creation_integration_test.go | 2 days ago | |
README.md
Admin Integration Tests
This directory contains integration tests for the SeaweedFS admin server functionality.
Tests
user_creation_integration_test.go
Integration tests for user creation and credential management, specifically testing:
- Issue #7575: Fixed bug where user creation failed with "filer address function not configured" error
- Verification that the
FilerEtcStorecorrectly implements theSetFilerAddressFuncinterface - Admin server setup process with filer_etc credential store
Running Tests
Run all integration tests:
go test -v ./test/admin
Run specific tests:
go test -v ./test/admin -run TestUserCreationWithFilerEtcStore
Skip integration tests (short mode):
go test -short ./test/admin
Test Requirements
These tests do not require a running filer instance. They verify that:
- The credential store interface is correctly implemented
- The filer address function can be properly configured
- Errors are appropriate (connection errors, not configuration errors)
Related Files
weed/admin/dash/admin_server.go- Admin server initialization with credential manager setupweed/credential/filer_etc/filer_etc_store.go- FilerEtcStore implementationweed/admin/dash/user_management.go- User management operationsweed/admin/dash/user_management_test.go- Unit tests for user management