Jira (FACT-2811) Refactor unit tests so they can be run with --order rand

10 views
Skip to first unread message

Sebastian Miclea (Jira)

unread,
Sep 21, 2020, 10:31:04 AM9/21/20
to puppe...@googlegroups.com
Sebastian Miclea created an issue
 
Facter / Task FACT-2811
Refactor unit tests so they can be run with --order rand
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/09/21 7:30 AM
Labels: platform_7
Priority: Normal Normal
Reporter: Sebastian Miclea

I ran rspec 10 times and these are the aggregated results on which unit tests fail when running randomly.

{ "./spec/framework/core/options/option_store_spec.rb"=>[15], "./spec/facter/facts/linux/is_virtual_spec.rb"=>[154, 170, 139], "./spec/facter/facts/solaris/virtual_spec.rb"=>[62, 30], "./spec/facter/resolvers/windows/virtualization_resolver_spec.rb"=> [64, 220, 216, 116, 204, 208, 184, 36, 164, 68, 160, 88, 92, 40], "./spec/facter/facts/solaris/is_virtual_spec.rb"=>[30, 62, 148], "./spec/facter/facter_spec.rb"=>[234, 253], "./spec/facter/resolvers/virt_what_spec.rb"=>[44, 53, 29], "./spec/facter/resolvers/partitions_spec.rb"=>[148, 158, 119], "./spec/custom_facts/util/config_spec.rb"=>[83, 67, 55, 75, 16], "./spec/framework/logging/logger_spec.rb"=> [205, 83, 103, 195, 175, 149, 129, 245, 239, 213], "./spec/custom_facts/util/collection_spec.rb"=> [207, 51, 125, 133, 129, 287, 295, 235, 229, 262, 256, 248], "./spec/framework/config/config_reader_spec.rb"=> [116, 126, 22, 31, 41, 155, 145, 69, 59, 87, 97, 174, 184], "./spec/framework/core/fact/internal/internal_fact_manager_spec.rb"=> [102, 118, 108], "./spec/custom_facts/util/directory_loader_spec.rb"=> [18, 51, 70, 32, 77, 41, 109, 93], "./spec/facter/resolvers/open_vz_spec.rb"=>[65] }
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Sep 30, 2020, 10:38:04 AM9/30/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Sep 30, 2020, 10:38:06 AM9/30/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost-7.10

Andrei Filipovici (Jira)

unread,
Oct 7, 2020, 7:02:03 AM10/7/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Oct 7, 2020, 9:05:06 AM10/7/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-7.10 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Oct 14, 2020, 10:04:04 AM10/14/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-7.10, ghost-14.10 , ready for triage 2
Reply all
Reply to author
Forward
0 new messages