Compare commits

...

No commits in common. "c8-stream-3.6" and "stream-mongodb-3.6-rhel-8.9.0" have entirely different histories.

7 changed files with 41 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -1 +1 @@
35969e3255117fcfe1b66fb601f886cad3d4b743 SOURCES/jctools-2.0.2.tar.gz
35969e3255117fcfe1b66fb601f886cad3d4b743 jctools-2.0.2.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_contexts:
- osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

23
plans/Smoke.java Normal file
View File

@ -0,0 +1,23 @@
import java.util.Queue;
import org.jctools.queues.MpscChunkedArrayQueue;
public class Smoke {
public static void main(String[] args) {
System.out.println("SMOKE TEST START");
Queue<Integer> q = new MpscChunkedArrayQueue<>(1024, 8*1024);
// fill up the queue
int i = 0;
while(q.offer(i)) i++;
System.out.println("Added "+ i);
// empty it
i = 0;
while(q.poll() != null) i++;
System.out.println("Removed "+ i);
System.out.println("SMOKE TEST COMPLETE");
}
}

8
plans/smoke.fmf Normal file
View File

@ -0,0 +1,8 @@
summary: Basic smoke test
prepare:
how: install
package: java-1.8.0-openjdk-devel
execute:
script:
- /usr/lib/jvm/java-1.8.0-openjdk/bin/javac -cp /usr/share/java/jctools/jctools-core.jar plans/Smoke.java
- /usr/lib/jvm/java-1.8.0-openjdk/bin/java -cp /usr/share/java/jctools/jctools-core.jar:plans Smoke

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (jctools-2.0.2.tar.gz) = 734905d6847664a08557fa9807766bfe2cd57e9562f1dc0d908c9fffc627c1cb7576ac079715004da9a1f2ee958c8373caf60c110ef3de8f7da5bb04775f6f7f