Skip to content

Commit

Permalink
add more debug statement + fix teh location of apache in wsgi_ermresolve
Browse files Browse the repository at this point in the history
  • Loading branch information
RFSH committed Oct 1, 2024
1 parent 3ec4786 commit b18afe8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,15 @@ jobs:
cd ermresolve
sudo pip3 install .
sudo useradd --create-home --system ermresolve
: # sudo cp ../chaise/test/wsgi_ermresolve.conf /etc/apache2/conf.d/wsgi_ermresolve.conf
sudo cp ../chaise/test/wsgi_ermresolve.conf /etc/apache2/conf.d/wsgi_ermresolve.conf
echo "zero:"
sudo ls -l etc/apache2/conf.d/
echo "first:"
sudo ls -l /usr/lib/python3.10/
echo "second:"
sudo ls -l /usr/lib/python3.10/site-packages
echo "third:"
sudo ls -l /usr/local/lib/python3.10/dist-packages
sudo chmod og+rx /home/ermresolve
sudo service apache2 restart
- name: Install ermrestjs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test.describe('Navbar', () => {
await newPage.waitForLoadState('domcontentloaded');
const url = newPage.url();
console.log(`url is ${url}`);
await newPage.waitForURL(`**/recordset/#${getCatalogID(testInfo.project.name)}/isa:dataset**`);
await newPage.waitForURL(`**/recordset/#${getCatalogID(testInfo.project.name)}/isa:dataset**`, { waitUntil: 'domcontentloaded' });
await newPage.close();
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/wsgi_ermresolve.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WSGIPythonOptimize 1
WSGIDaemonProcess ermresolve processes=1 threads=4 user=ermresolve maximum-requests=2000
WSGIScriptAlias /id /usr/lib/python3.10/site-packages/ermresolve/ermresolve.wsgi process-group=ermresolve

WSGISocketPrefix /var/run/httpd/wsgi
WSGISocketPrefix /var/run/apache2/wsgi

<Location /id>
Require all granted
Expand Down

0 comments on commit b18afe8

Please sign in to comment.