Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
17
.gitignore
vendored
17
.gitignore
vendored
@ -1 +1,16 @@
|
|||||||
SOURCES/gevent-1.2.2.tar.gz
|
gevent-0.13.0.tar.gz
|
||||||
|
/gevent-0.13.1.tar.gz
|
||||||
|
/gevent-0.13.3.tar.gz
|
||||||
|
/gevent-0.13.6.tar.gz
|
||||||
|
/gevent-0.13.8.tar.gz
|
||||||
|
/gevent-1.0.tar.gz
|
||||||
|
/gevent-1.0.1.tar.gz
|
||||||
|
/gevent-1.0.2.tar.gz
|
||||||
|
/gevent-1.1b5.tar.gz
|
||||||
|
/gevent-1.1b6.tar.gz
|
||||||
|
/gevent-1.1rc3.tar.gz
|
||||||
|
/gevent-1.1rc4.tar.gz
|
||||||
|
/gevent-1.1.0.tar.gz
|
||||||
|
/gevent-1.1.1.tar.gz
|
||||||
|
/gevent-1.1.2.tar.gz
|
||||||
|
/gevent-1.2.2.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
3a2ab5f982db6d2ebe8f3763f1563b40343c782e SOURCES/gevent-1.2.2.tar.gz
|
|
||||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (gevent-1.2.2.tar.gz) = 1e2dd544cffea62ee32de2e4066b3f4c121058a1211b89da281ec3882f3763217fe2d346ce38b66e27df9f59cfe05bb137d1608a681dd10eaf06a33dc22f531c
|
||||||
12
tests/scripts/run_tests
Executable file
12
tests/scripts/run_tests
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
import sys
|
||||||
|
import gevent
|
||||||
|
from gevent import socket
|
||||||
|
urls = ['www.fedoraproject.org', 'www.redhat.com']
|
||||||
|
jobs = [gevent.spawn(socket.gethostbyname, url) for url in urls]
|
||||||
|
gevent.joinall(jobs, timeout=2)
|
||||||
|
|
||||||
|
results = [job.value for job in jobs]
|
||||||
|
print(results)
|
||||||
|
if not all(results):
|
||||||
|
sys.exit(1)
|
||||||
15
tests/tests.yml
Normal file
15
tests/tests.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
# Run a simple test
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
|
||||||
|
required_packages:
|
||||||
|
- python36
|
||||||
|
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: scripts
|
||||||
|
run: ./run_tests
|
||||||
Loading…
Reference in New Issue
Block a user