Skip to content

[ServerSpec][Windows][2-0001_Base]memoryの最大最少が反転 #5

@YoshikiIto-abc

Description

@YoshikiIto-abc

issue Type

  • Bug Report

Defective Spot

  • ServerSpec
  • 2-0001_Base
  • shift_ware/Serverspec/spec/2-0001_Base/HW/2-0001-002_Memory_spec.rb

SHIFT ware VERSION

  • 1.0.0

OS / Environment

  • Controller : RHEL 6.7
  • Target : WindowsServer2012R2

Description
memoryの最大値、最小値の値が逆転しています。

Steps to Reproduce
判定時に反転しているので毎回NGとなります。

Acyual log

Improvement
shift_ware/Serverspec/spec/2-0001_Base/HW/2-0001-002_Memory_spec.rb
33-34行目
max_size = property[:BASE][:HW][:memory][:virtualmemory][:size][:min]
min_size = property[:BASE][:HW][:memory][:virtualmemory][:size][:max]

max_size = property[:BASE][:HW][:memory][:virtualmemory][:size][:max]
min_size = property[:BASE][:HW][:memory][:virtualmemory][:size][:min]
とすることで解消されます

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions