Ensure no buckets are leaking in integration tests

Đang mở
#350 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start with the BucketTrackingMixin referenced in the issue and the integration test suite under test/integration, which the issue implies but does not name exactly. Check which tests create buckets and where teardown currently runs, then apply the mixin so every created bucket is deleted at teardown. Pull request 237 in reef-technologies/b2-sdk-python is cited as the suggested approach, so read it first. Done means a test run leaves no buckets behind.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Use BucketTrackingMixin in integration tests to track created buckets and ensure their deletion during test teardown as suggested in https://github.com/reef-technologies/b2-sdk-python/pull/237.

Ngôn ngữ chính
Python
Star
214
Fork
68
Merge trung bình
51 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Backblaze/b2-sdk-python

Tất cả issue của Backblaze/b2-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.