Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[data-termsuite]: Tests won't use webhook.site #155

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

parmentf
Copy link
Contributor

@parmentf parmentf commented Aug 7, 2024

Because URLs are not permanent.

Error from automated tests:

{
    "type": "Data corruption error",
    "scope": "data",
    "date": "2024-08-07T04:05:04.041Z",
    "message": "item #1 [delegate] <Error: [swing] <Error: [URLFetch] <Error: Not Found>>>",
    "func": "delegate",
    "params": {
        "file": "Expression::\"recorder.cfg\""
    },
    "traceback": [
        "\\t\\t    at /app/node_modules/@ezs/basics/lib/request.js:12:17",
        "\\t\\t    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
        "\\t\\t    at async Object.URLFetch (/app/node_modules/@ezs/basics/lib/url-fetch.js:60:22)",
        "\\t    at Feed.push (/app/node_modules/@ezs/core/lib/engine.js:186:27)",
        "\\t    at Feed.write (/app/node_modules/@ezs/core/lib/feed.js:35:12)",
        "\\t    at Feed.send (/app/node_modules/@ezs/core/lib/feed.js:101:10)",
        "\\t    at Object.URLFetch (/app/node_modules/@ezs/basics/lib/url-fetch.js:80:17)",
        "\\t    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
        "    at Feed.push (/app/node_modules/@ezs/core/lib/engine.js:186:27)",
        "    at Feed.write (/app/node_modules/@ezs/core/lib/feed.js:35:12)"
    ],
    "index": 1,
    "chunk": {
        "key": "n: sediment",
        "freq": 10
    },
    "body": {
        "identifier": "B7t3rYMAU",
        "generator": "termsuite-en",
        "error": {
            "type": "Data corruption error",
            "scope": "data",
            "message": "item #1 [delegate] <Error: [swing] <Error: [URLFetch] <Error: Not Found>>>"
        }
    },
    "env": {
        "nb": "10",
        "headers": {
            "host": "data-termsuite.services.istex.fr",
            "user-agent": "hurl/4.3.0",
            "content-length": "17044",
            "accept": "*/*",
            "content-type": "application/x-gzip",
            "x-forwarded-for": "193.54.109.8, 193.54.109.61",
            "x-forwarded-host": "data-termsuite.services.istex.fr",
            "x-forwarded-port": "80",
            "x-forwarded-proto": "http",
            "x-forwarded-server": "d9c742cd248d",
            "x-real-ip": "193.54.109.61",
            "x-webhook-failure": "https://webhook.site/2caab8b5-fc96-4d7a-bb94-bdda20977830",
            "x-webhook-success": "https://webhook.site/2caab8b5-fc96-4d7a-bb94-bdda20977830",
            "accept-encoding": "gzip"
        },
        "generator": "termsuite-en",
        "pid": "PID1723003449179",
        "identifier": "B7t3rYMAU"
    }
}

Because URLs are not permanent.
@parmentf parmentf added the bug Something isn't working label Aug 7, 2024
@parmentf parmentf self-assigned this Aug 7, 2024
@parmentf parmentf merged commit fc53342 into main Aug 7, 2024
1 check passed
@parmentf parmentf deleted the services/data-termsuite/fix-tests branch August 7, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant