Split server unit test on its own

Ref https://github.com/sbt/sbt/issues/4186
This is an attempt to fix the flaky server test issue.
This commit is contained in:
Eugene Yokota 2018-06-18 04:20:50 -04:00
parent 479ea92bd8
commit dc73fcfece
2 changed files with 2 additions and 10 deletions

View File

@ -50,7 +50,7 @@ notifications:
# Undo _JAVA_OPTIONS environment variable # Undo _JAVA_OPTIONS environment variable
before_script: before_script:
- _JAVA_OPTIONS= - unset _JAVA_OPTIONS
script: script:
# It doesn't need that much memory because compile and run are forked # It doesn't need that much memory because compile and run are forked

View File

@ -726,20 +726,12 @@ lazy val docProjects: ScopeFilter = ScopeFilter(
) )
lazy val safeUnitTests = taskKey[Unit]("Known working tests (for both 2.10 and 2.11)") lazy val safeUnitTests = taskKey[Unit]("Known working tests (for both 2.10 and 2.11)")
lazy val safeProjects: ScopeFilter = ScopeFilter( lazy val safeProjects: ScopeFilter = ScopeFilter(
inProjects(mainSettingsProj, mainProj, actionsProj, runProj, stdTaskProj), inAnyProject -- inProjects(sbtRoot, sbtProj),
inConfigurations(Test) inConfigurations(Test)
) )
lazy val otherUnitTests = taskKey[Unit]("Unit test other projects") lazy val otherUnitTests = taskKey[Unit]("Unit test other projects")
lazy val otherProjects: ScopeFilter = ScopeFilter( lazy val otherProjects: ScopeFilter = ScopeFilter(
inProjects( inProjects(
testingProj,
testAgentProj,
taskProj,
scriptedSbtProj,
scriptedPluginProj,
commandProj,
mainSettingsProj,
mainProj,
sbtProj sbtProj
), ),
inConfigurations(Test) inConfigurations(Test)