Skip to content

Commit c9babf4

Browse files
committed
Fix server connectivity test URL and add environment variables for legacy performance test
1 parent dd38b60 commit c9babf4

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/performance-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,18 @@ jobs:
3535
curl -v --max-time 30 "http://owl.virtualflybrain.org/kbs/vfb/subclasses?object=%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FFBbt_00005106%3E&direct=false&includeDeprecated=false&includeEquivalent=true" | head -20 || echo "Simple query failed or timed out"
3636
echo ""
3737
echo "Testing if server responds at all..."
38-
curl -v --max-time 10 "http://owl.virtualflybrain.org/" || echo "Server unreachable"
38+
curl -v --max-time 10 "http://owl.virtualflybrain.org/kbs/vfb" || echo "Server unreachable"
3939
4040
- name: Run Performance Test
4141
run: |
4242
python -m unittest src.test.test_query_performance -v 2>&1 | tee performance_test_output.log
4343
4444
- name: Run Legacy Performance Test
45+
env:
46+
VFBQUERY_CACHE_ENABLED: 'true'
47+
MPLBACKEND: 'Agg'
48+
VISPY_GL_LIB: 'osmesa'
49+
VISPY_USE_EGL: '0'
4550
run: |
4651
python -m unittest -v src.test.term_info_queries_test.TermInfoQueriesTest.test_term_info_performance 2>&1 | tee -a performance_test_output.log
4752

0 commit comments

Comments
 (0)