Skip to content

Commit 712fcf3

Browse files
authored
Merge pull request #35 from polyapi/develop
Added the delay for all runs.
2 parents fb41321 + 7fb1db5 commit 712fcf3

File tree

1 file changed

+19
-36
lines changed
  • polyapi-maven-plugin/src/it/deploy-function-it

1 file changed

+19
-36
lines changed

polyapi-maven-plugin/src/it/deploy-function-it/pom.xml

Lines changed: 19 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -120,42 +120,25 @@
120120
</execution>
121121
</executions>
122122
</plugin>
123+
<plugin>
124+
<groupId>org.apache.maven.plugins</groupId>
125+
<artifactId>maven-antrun-plugin</artifactId>
126+
<version>1.8</version>
127+
<executions>
128+
<execution>
129+
<id>sleep-for-a-while</id>
130+
<phase>test-compile</phase>
131+
<configuration>
132+
<target>
133+
<sleep seconds="10" />
134+
</target>
135+
</configuration>
136+
<goals>
137+
<goal>run</goal>
138+
</goals>
139+
</execution>
140+
</executions>
141+
</plugin>
123142
</plugins>
124143
</build>
125-
126-
<profiles>
127-
<!-- Profile to be run exclusively in EU1 function due to a bug that requires some time between deployment of a server function and it's execution. -->
128-
<profile>
129-
<id>delayed-function-execution</id>
130-
<activation>
131-
<property>
132-
<name>host</name>
133-
<value>https://eu1.polyapi.io</value>
134-
</property>
135-
</activation>
136-
<build>
137-
<plugins>
138-
<plugin>
139-
<groupId>org.apache.maven.plugins</groupId>
140-
<artifactId>maven-antrun-plugin</artifactId>
141-
<version>1.8</version>
142-
<executions>
143-
<execution>
144-
<id>sleep-for-a-while</id>
145-
<phase>test-compile</phase>
146-
<configuration>
147-
<target>
148-
<sleep seconds="10" />
149-
</target>
150-
</configuration>
151-
<goals>
152-
<goal>run</goal>
153-
</goals>
154-
</execution>
155-
</executions>
156-
</plugin>
157-
</plugins>
158-
</build>
159-
</profile>
160-
</profiles>
161144
</project>

0 commit comments

Comments
 (0)