`APIManagerTests.testConcurrentRequests` fails on Linux

Đang mở
#73 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
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
swift
Lĩnh vực
mobile-dev, testing

Hướng nghiên cứu

Bắt đầu bằng cách chạy APIManagerTests.testConcurrentRequests trên Linux và kiểm tra lỗi tại FlagsmithClient/Tests/APIManagerTests.swift:83. Theo dõi các request đồng thời của APIManager và xác định lý do các expectation vẫn chưa được đáp ứng; được coi là hoàn thành khi test chạy thành công trên Linux mà không vượt quá thời gian timeout.

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

Mô tả

Test Case 'APIManagerTests.testConcurrentRequests' started at 2024-11-18 18:43:27.208
/home/runner/work/flagsmith-ios-client/flagsmith-ios-client/FlagsmithClient/Tests/APIManagerTests.swift:83: error: APIManagerTests.testConcurrentRequests : Asynchronous wait failed - Exceeded timeout of 10.0 seconds, with unfulfilled expectations: Multiple threads can access the APIManager 310, Multiple threads can access the APIManager 321, Multiple threads can access the APIManager 329, Multiple threads can access the APIManager 378, Multiple threads can access the APIManager 393, Multiple threads can access the APIManager 399, Multiple threads can access the APIManager 428, Multiple threads can access the APIManager 458, Multiple threads can access the APIManager 459, Multiple threads can access the APIManager 463, Multiple threads can access the APIManager 465, Multiple threads can access the APIManager 466, Multiple threads can access the APIManager 468, Multiple threads can access the APIManager 469, Multiple threads can access the APIManager 473, Multiple threads can access the APIManager 475, Multiple threads can access the APIManager 477, Multiple threads can access the APIManager 478, Multiple threads can access the APIManager 484, Multiple threads can access the APIManager 490, Multiple threads can access the APIManager 492, Multiple threads can access the APIManager 495, Multiple threads can access the APIManager 497, Multiple threads can access the APIManager 498, Multiple threads can access the APIManager 499
Ngôn ngữ chính
Swift
Star
17
Fork
18
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
8

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 Flagsmith/flagsmith-ios-client

Tất cả issue của Flagsmith/flagsmith-ios-client

Issue tương tự

Thêm issue về Swift

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.