Skip to content
Snippets Groups Projects
  • Marcelo Vanzin's avatar
    8abef21d
    [SPARK-10300] [BUILD] [TESTS] Add support for test tags in run-tests.py. · 8abef21d
    Marcelo Vanzin authored
    This change does two things:
    
    - tag a few tests and adds the mechanism in the build to be able to disable those tags,
      both in maven and sbt, for both junit and scalatest suites.
    - add some logic to run-tests.py to disable some tags depending on what files have
      changed; that's used to disable expensive tests when a module hasn't explicitly
      been changed, to speed up testing for changes that don't directly affect those
      modules.
    
    Author: Marcelo Vanzin <vanzin@cloudera.com>
    
    Closes #8437 from vanzin/test-tags.
    8abef21d
    History
    [SPARK-10300] [BUILD] [TESTS] Add support for test tags in run-tests.py.
    Marcelo Vanzin authored
    This change does two things:
    
    - tag a few tests and adds the mechanism in the build to be able to disable those tags,
      both in maven and sbt, for both junit and scalatest suites.
    - add some logic to run-tests.py to disable some tags depending on what files have
      changed; that's used to disable expensive tests when a module hasn't explicitly
      been changed, to speed up testing for changes that don't directly affect those
      modules.
    
    Author: Marcelo Vanzin <vanzin@cloudera.com>
    
    Closes #8437 from vanzin/test-tags.