Project

Profile

Help

Task #6932

Check and fix every parametrized test

Added by Alexander Kaluzhny about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Alexander Kaluzhny
Category:
mdbci_practice
Sprint/Milestone:
Start date:
03.04.2016
Due date:
% Done:

0%

Estimated time:
3:00 h
Target branch:
Test scenario:

Description

Check all tests that require machines.
Fix broken tests.

Unit tests summury


task :run_unit_parametrized do

# TESTS NOT NEED TO BRING UP MACHINES
=begin 
  task :task_6641_setup_exit_code, [:pathToTestBoxes, :testBoxName] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6641_setup_exit_code].execute( {:pathToTestBoxes=>'TESTBOXES', :testBoxName=>'testbox'} )
  task :task_6818_search_box_name_by_config, [:configPath, :nodeName] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6818_search_box_name_by_config].execute({ :configPath=>'confs/mdbci_up_aws_test_config.json', :nodeName=>'galera0' })
=end

# TESTS THAT NOT FOUND OR NOT IMPORTANT AT THE MOMENT
=begin
  task :task_6803_showKeyFile_exceptions, [:pathToVboxFolder] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6803_showKeyFile_exceptions].execute({ :pathToVboxFolder=>'TEST' })
  task :task_6639_ssh_exit_code, [:pathToConfigToVBOXNode, :pathToConfigToMDBCINode, :pathToConfigToMDBCIFolder, :pathToConfigToMDBCINode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6639_ssh_exit_code].execute({ :pathToConfigToVBOXNode=>'TEST/vboxnode', :pathToConfigToMDBCINode=>'TEST1/mdbcinode', :pathToConfigToMDBCIBadNode=>'TEST2/mdbcinodebad', :pathToConfigToMDBCIFolder=>'TEST1' })
  task :task_6642_show_keyfile_exit_code, [:pathToConfigToVBOXNode, :pathToConfigToMDBCINode, :pathToConfigToMDBCIFolder, :pathToConfigToMDBCINode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6642_show_keyfile_exit_code].execute({ :pathToConfigToVBOXNode=>'TEST/vboxnode', :pathToConfigToMDBCINode=>'TEST1/mdbcinode', :pathToConfigToMDBCIBadNode=>'TEST2/mdbcinodebad', :pathToConfigToMDBCIFolder=>'TEST1' })
  task :task_6821_show_box_config_node, [:pathToConfigNode, :pathToConfig] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end    
  Rake::Task[:task_6821_show_box_config_node].execute({ :pathToConfigNode=>'TEST/vboxnode', :pathToConfig=>'TEST' })
=end

# TESTS THAT NEEDS TO BE REFACATORED
=begin
  task :task_6640_sudo_exit_code do |t| RakeTaskManager.new(t).run_unit_parametrized([DOCKER, LIBVIRT]) end
  Rake::Task[:task_6640_sudo_exit_code].execute
  task :task_6640_sudo_exit_code, [:pathToConfigToVBOXNode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6640_sudo_exit_code].execute({ :pathToConfigToVBOXNode=>'TEST/vboxnode' })
  task :task_6643_show_network_exit_code, [:pathToConfigToVBOXNode, :pathToConfigToMDBCINode, :pathToConfigToMDBCIFolder, :pathToConfigToMDBCINode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6643_show_network_exit_code].execute({ :pathToConfigToVBOXNode=>'TEST/vboxnode', :pathToConfigToMDBCINode=>'TEST1/mdbcinode', :pathToConfigToMDBCIBadNode=>'TEST3/mdbcinodebad', :pathToConfigToMDBCIFolder=>'TEST1' })
  task :task_6644_show_private_ip_exit_code, [:pathToConfigToVBOXNode, :pathToConfigToMDBCINode, :pathToConfigToMDBCIFolder, :pathToConfigToMDBCINode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6644_show_private_ip_exit_code].execute({ :pathToConfigToVBOXNode=>'TEST/vboxnode', :pathToConfigToMDBCINode=>'TEST1/mdbcinode', :pathToConfigToMDBCIBadNode=>'TEST3/mdbcinodebad', :pathToConfigToMDBCIFolder=>'TEST1' })
  task :task_6645_public_keys_exit_code, [:pathToConfigToVBOXNode, :pathToConfigToMDBCINode, :pathToConfigToMDBCIFolder, :pathToConfigToMDBCINode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_6645_public_keys_exit_code].execute({ :pathToConfigToVBOXNode=>'TEST/vboxnode', :pathToConfigToMDBCINode=>'TEST1/mdbcinode', :pathToConfigToMDBCIBadNode=>'TEST3/mdbcinodebad', :pathToConfigToMDBCIFolder=>'TEST1' })
  task :task_7110_collectConfigurationNetworkInfo, [:configPath, :stoppedConfigPath] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_7159_main_cloning_func_check_provider].execute({ :pathToConfigToMDBCILibvirtProviderNode=>'TEST0/node0', :pathToConfigToMDBCIDockerProviderNode=>'TEST1/node0', :pathToConfigToMDBCIBadNode=>'TEST2/node0' })
  task :task_7159_main_cloning_func_check_provider, [:pathToConfigToMDBCILibvirtProviderNode, :pathToConfigToMDBCIDockerProviderNode, :pathToConfigToMDBCIBadNode] do |t, args| RakeTaskManager.new(t).run_parametrized(args) end
  Rake::Task[:task_7110_collectConfigurationNetworkInfo].execute({ :configPath=>'TEST', :stoppedConfigPath=>'TEST_STOPPED' })
=end

  task :task_7222_testing_environment_check do |t| RakeTaskManager.new(t).run_unit_parametrized([DOCKER, LIBVIRT, PPC]) end
  Rake::Task[:task_7222_testing_environment_check].execute

  task :task_7364_devide_param_test_by_config_docker do |t| RakeTaskManager.new(t).run_unit_parametrized([DOCKER]) end
  Rake::Task[:task_7364_devide_param_test_by_config_docker].execute

  task :task_7364_devide_param_test_by_config_libvirt do |t| RakeTaskManager.new(t).run_unit_parametrized([LIBVIRT]) end
  Rake::Task[:task_7364_devide_param_test_by_config_libvirt].execute

  task :task_7364_devide_param_test_by_config_ppc do |t| RakeTaskManager.new(t).run_unit_parametrized([PPC]) end
  Rake::Task[:task_7364_devide_param_test_by_config_ppc].execute

  RakeTaskManager.get_failed_tests_info
end


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #6934: Kaluzny practice - parametrized testing automationClosed03.04.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7406: Check unit parametrized tests to be exists fix/remove themClosed15.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7407: Make tests none-prametrizedClosed15.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7408: Make usefull links for parametrized test configsClosed15.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7411: Fix test 7110Closed17.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7405: Adapt unit parametrized tastksClosed15.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7430: Adapt parametrized integration testsClosed21.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7447: Update parametrized test jobs to execute set of testsClosed24.08.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Alexander Kaluzhny about 5 years ago

  • Related to Task #6934: Kaluzny practice - parametrized testing automation added

#2 Updated by Alexander Kaluzhny about 5 years ago

  • Estimated time set to 3:00 h

#3 Updated by Alexander Kaluzhny almost 5 years ago

Check all tests that require machines.
Fix broken tests.

#4 Updated by Alexander Kaluzhny almost 5 years ago

  • Description updated (diff)

#5 Updated by Mark Zaslavskiy almost 5 years ago

  • Sprint/Milestone changed from 0.83 to 0.9

#8 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Active / In progress

#9 Updated by Alexander Kaluzhny over 4 years ago

  • Description updated (diff)

#10 Updated by Alexander Kaluzhny over 4 years ago

  • Description updated (diff)

#11 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7405: Adapt unit parametrized tastks added

#12 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7406: Check unit parametrized tests to be exists fix/remove them added

#13 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7407: Make tests none-prametrized added

#14 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7408: Make usefull links for parametrized test configs added

#15 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from Active / In progress to New

#16 Updated by Alexander Kaluzhny over 4 years ago

#17 Updated by Alexander Kaluzhny over 4 years ago

  • Related to deleted (Task #7405: Adapt unit parametrized tastks)

#18 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7405: Adapt unit parametrized tastks added

#19 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7430: Adapt parametrized integration tests added

#20 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#21 Updated by Mark Zaslavskiy over 4 years ago

Please provide pull-request and test scenario.

#22 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#23 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Active / In progress

#24 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #7447: Update parametrized test jobs to execute set of tests added

#25 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Active / In progress to Closed

Also available in: Atom PDF