ubicloud/spec/lib
Jeremy Evans f38ea915fd Attempt to fix nondeterminism in repartition stale spec
The main fix here is to the synchronization between the threads
that notify for partition numbers 2 and 3. Don't send the notify
for partition 2 until after the notification for partition 3 has
been received and applied by the repartitioner and checked by the
spec.

While here, use 3 separate queues for synchronization, instead
of only 2 queues, to rule out the possibility of queue unexpected
queue reuse causing the problem.

Add expectations for each queue pop and thread join, so that if
there is a timeout expiration, you can better diagnose the cause
of the spec failure.

This passed 100 spec runs without failure locally, where the
previous code generally didn't get through 30 spec runs without
failure locally.
2025-09-16 06:08:46 +09:00
..
hosting Replace references of HetznerHost with HostProvider 2025-01-31 14:24:34 +01:00
kubernetes Do not silently fail on kubernetes commands 2025-09-02 13:28:07 +02:00
minio Add S3 integration to postgres timeline for backup/restore 2025-06-16 16:28:46 +02:00
validation Fix bug when sending non-string values for PG configs 2025-07-30 14:01:26 +05:30
victoria_metrics Use cert_store in VictoriaMetrics client 2025-06-02 21:11:45 +02:00
access_control_model_tag_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
authorization_spec.rb Use create_with_id in the specs 2025-08-07 02:13:08 +09:00
billing_rate_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
clog_spec.rb Change rubocop TargetRubyVersion to 3.4 2025-04-26 06:51:19 +09:00
cloudflare_client_spec.rb Manage setup/destroy of the repository's blob storage. 2024-06-28 10:06:23 +03:00
github_spec.rb Call original Clog.emit message when mocking in the tests 2025-05-31 01:20:38 +09:00
invoice_generator_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
log_dna_batcher_spec.rb Fix leaked threads in LogDnaBatcher spec 2025-09-04 06:26:02 +09:00
metrics_spec.rb Add backend API to fetch metrics for Postgres resource 2025-05-13 12:06:39 +05:30
metrics_target_methods_spec.rb Call original Clog.emit message when mocking in the tests 2025-05-31 01:20:38 +09:00
metrics_target_resource_spec.rb Use create_with_id in the specs 2025-08-07 02:13:08 +09:00
monitor_resource_type_spec.rb Stop monitor jobs sooner if resource is deleted 2025-08-07 03:03:12 +09:00
monitor_runner_spec.rb Rename MonitorRepartitioner to Repartitioner 2025-08-26 04:32:52 +09:00
monitorable_resource_spec.rb Retry once when resource healthcheck fails because of dropped ssh connections 2025-09-08 11:47:10 +02:00
option_spec.rb Remove gpu field from Option::VmSize 2025-05-26 16:48:14 +02:00
pagination_spec.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
repartitioner_spec.rb Attempt to fix nondeterminism in repartition stale spec 2025-09-16 06:08:46 +09:00
runpod_client_spec.rb Client for RunPod Rest API 2025-05-23 09:28:10 +02:00
sem_snap_spec.rb Do not create a Semaphore if there is no related Strand 2025-03-20 13:13:49 -07:00
ssh_key_spec.rb Add OpenSSH integration test for SshKey 2025-07-14 18:14:37 -07:00
system_parser_spec.rb Update parsers to extract disk device names 2025-02-25 09:42:06 +01:00
thread_printer_spec.rb Make thread printer work with leaked thread detection 2025-09-04 06:26:02 +09:00
util_spec.rb Introduce elliptic curve backwards compatibility code 2024-10-29 07:40:12 -07:00
validation_spec.rb Add AWS eu-central-1 region as option 2025-09-05 13:45:33 +03:00