exclude contract test from general rspec test run; refs DE-201

general rspec tests were running contract tests as well as the
contract tests build. contracts-generate-api.sh was duplicating
tests run in rspec.groovy.

test plan:
  - build passes
  - contract tests build runs contract tests as expected
  - rspec build does NOT run contract tests

Change-Id: Ia3cacbf0ac099a52e016527800390d6dd17eb057
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/254748
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
Product-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
Kyle Rosenbaum 2020-12-09 10:54:10 -08:00
parent 065e113317
commit 826f9542be
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ pipeline {
FORCE_FAILURE = configuration.forceFailureFSC()
// fsc errors when running specs from gems.
// until we figure out how to run them, we should ignore them
FSC_IGNORE_FILES = "gems/.*/spec/"
FSC_IGNORE_FILES = "gems/.*/spec/,spec/contracts/"
POSTGRES_PASSWORD = 'sekret'
SELENIUM_VERSION = "3.141.59-20200719"

View File

@ -63,7 +63,7 @@ def runRSpecSuite(total, index) {
config.max_fail,
config.reruns_retry,
'^./(spec|gems/plugins/.*/spec_canvas)/',
'.*/selenium',
'.*/(selenium|contracts)',
'4',
config.force_failure,
config.patchsetTag