Compare commits
No commits in common. "c8-stream-3.6" and "stream-mongodb-3.6-rhel-8.9.0" have entirely different histories.
c8-stream-
...
stream-mon
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -1 +1 @@
|
|||
35969e3255117fcfe1b66fb601f886cad3d4b743 SOURCES/jctools-2.0.2.tar.gz
|
||||
35969e3255117fcfe1b66fb601f886cad3d4b743 jctools-2.0.2.tar.gz
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_contexts:
|
||||
- osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue