Quellcode durchsuchen

YARN-8359. Exclude containermanager.linux test classes on Windows. Contributed by Jason Lowe.

Inigo Goiri vor 7 Jahren
Ursprung
Commit
3b88fe25ba

+ 21 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

@@ -294,6 +294,27 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>native-win</id>
+      <activation>
+        <os>
+          <family>Windows</family>
+        </os>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.**</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <build>