Skip to content
Snippets Groups Projects
Select Git revision
  • workshop-poc default protected
  • streamchain-paper
  • fabric-release-1.4
3 results

factory_test.go

Blame
    • Volodymyr Paprotski's avatar
      b6e1f911
      [FAB-3454] BCCSP Factory Options error checks · b6e1f911
      Volodymyr Paprotski authored
      
      - (Reported) factory now can 'nicely' fail on bad bccsp
        names
      - (Part of debugging this problem) had test cases modifying
        default options. Hide default options behind a getter which
        returns a new instance every time, so that it does not get
        clobbered
      - (Part of debugging this problem) SetupBCCSPKeystoreConfig
        should did not update bccsp config outside the function
      
      Change-Id: I397a9e12908f5550ffc54e5277d950bf6428b571
      Signed-off-by: default avatarVolodymyr Paprotski <vpaprots@ca.ibm.com>
      b6e1f911
      History
      [FAB-3454] BCCSP Factory Options error checks
      Volodymyr Paprotski authored
      
      - (Reported) factory now can 'nicely' fail on bad bccsp
        names
      - (Part of debugging this problem) had test cases modifying
        default options. Hide default options behind a getter which
        returns a new instance every time, so that it does not get
        clobbered
      - (Part of debugging this problem) SetupBCCSPKeystoreConfig
        should did not update bccsp config outside the function
      
      Change-Id: I397a9e12908f5550ffc54e5277d950bf6428b571
      Signed-off-by: default avatarVolodymyr Paprotski <vpaprots@ca.ibm.com>