Project

Profile

Help

Task #7280

Comments from https://github.com/OSLL/mdbci/pull/232/files

Added by Mark Zaslavskiy almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Code review tasks
Sprint/Milestone:
Start date:
20.07.2016
Due date:
% Done:

100%

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

# 1. Generate node (echo $? => 0)
./mdbci --template confs/docker_lite.json generate SOME_DIR
./mdbci --template confs/docker_lite.json generate SOME_DIR2

# 2. Up nodes (echo $? => 0).
./mdbci up SOME_DIR

# 3. It will be SOME_DIR_network_config file In repo directory. Show content:
cat SOME_DIR_network_config

# 4. Run test (echo $?=>0)
configPath=SOME_DIR stoppedConfigPath=SOME_DIR2 rspec spec/unit/7110_collectConfigurationNetworkInfo_spec.rb

# 5. To show error for default case, add to spec/unit/7110_collectConfigurationNetworkInfo_spec.rb line, which not expecting by normal work:
result["key"]=val

# And run test. Expect: error in this case.

History

#1 Updated by Ilfat Kinyaev almost 5 years ago

  • Estimated time set to 1:00 h

#2 Updated by Ilfat Kinyaev almost 5 years ago

  • Status changed from New to Active / In progress

#4 Updated by Ilfat Kinyaev almost 5 years ago

  • Status changed from Active / In progress to New

#5 Updated by Ilfat Kinyaev almost 5 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy
  • Test scenario updated (diff)

Fixed for default case with key.should eql(nil), maybe need another way to raise error?

#6 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF