question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Back-end tests error out on develop

See original GitHub issue

Describe the bug Post the merging of PR #5618, I think the back-end tests error out on develop (they had also error-ed out for that particular PR). The following is the log:

File "/home/travis/build/oppia/oppia/core/platform/models.py", line 19, in <module>
    import feconf
  File "/home/travis/build/oppia/oppia/feconf.py", line 30, in <module>
    not os.environ['SERVER_SOFTWARE'].startswith('Development')):
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)
KeyError: 'SERVER_SOFTWARE'

Additional context Logs from develop and logs from the PR itself.

/cc @vojtechjelinek

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
seanlipcommented, Sep 14, 2018

But then we should still fix that, right? Basically do what is needed so that the PR would not have got in (by showing a green).

1reaction
vojtechjelinekcommented, Sep 14, 2018

The PR is on the way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Backend Testing: What Is It and How It's Done at EGO
If the database is stopped, the API should return the “Error 500: Service unavailable” response. The current status of the exact shipment. If ......
Read more >
Unable to run backend tests · Issue #10064 - GitHub
I used this command to run a backend test python -m scripts.run_backend_tests --test_target=scripts.linters.general_purpose_linter_test ERROR LOG Error 1 ...
Read more >
Fullstack part4 | Testing the backend
In our current application, we only load the environment variables defined in the .env file if the application is not in production mode....
Read more >
Backend testing: the definitive guide — MindK Blog
We've been providing backend testing as a part of QA service for over 10 years. Here are the basics you need to know...
Read more >
Karma test error attempting to emulate backend results from ...
I am trying to create an integration test to confirm that the code in the component is written correctly. The service returns an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found