Disable ubuntu test runner

Server based tests are failing for no reason I can discern. Hopefully
Microsoft will fix whatever they broke eventually.
This commit is contained in:
Kovid Goyal 2020-12-08 08:08:53 +05:30
parent c839058b2b
commit a47105b17a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 1 additions and 6 deletions

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest, windows-latest]
steps:
- name: Checkout source code
uses: actions/checkout@master

View File

@ -8,20 +8,16 @@ __copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>'
import json
import os
import time
import unittest
import zlib
from functools import partial
from io import BytesIO
from calibre.constants import islinux
from calibre.ebooks.metadata.meta import get_metadata
from calibre.srv.tests.base import LibraryBaseTest
from polyglot.binary import as_base64_bytes
from polyglot.http_client import FORBIDDEN, NOT_FOUND, OK
from polyglot.urllib import quote, urlencode
is_ci = os.environ.get('CI', '').lower() == 'true'
def make_request(conn, url, headers={}, prefix='/ajax', username=None, password=None, method='GET', data=None):
if username and password:
@ -36,7 +32,6 @@ def make_request(conn, url, headers={}, prefix='/ajax', username=None, password=
class ContentTest(LibraryBaseTest):
@unittest.skipIf(islinux and is_ci, 'This test is flaky since early Dec 2020 on ubuntu CI, looks like a file descriptor being closed that should not be')
def test_ajax_book(self): # {{{
'Test /ajax/book'
with self.create_server() as server: