Giter Site home page Giter Site logo

Comments (7)

arthall avatar arthall commented on August 13, 2024

The README-development.rst has a section on the configuration for testing, https://github.com/oracle/oci-python-sdk/blob/master/README-development.rst#specifying-a-config-file, but it's not clear that the expectation is for you to add your own config file. We'll update the doc and add a sample config file.

The reason the config file isn't supplied is because it uses resource identifiers which need to be defined based on your tenancy and compartment.

More information on configuration can be found here: https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/configuration.html

from oci-python-sdk.

glaubitz avatar glaubitz commented on August 13, 2024

Thanks for the explanation!

I would like to be able to run the testsuite since I am packaging the SDK for openSUSE/SLE. This is just to add some level of QA when updating the SDK package in the future.

from oci-python-sdk.

arthall avatar arthall commented on August 13, 2024

Do you have access to an Oracle Cloud Infrastructure tenant? Some of the tests consume resources since they start instances and upload files. Would you be interested in a set of tests that do not consume resources?

from oci-python-sdk.

glaubitz avatar glaubitz commented on August 13, 2024

Do you have access to an Oracle Cloud Infrastructure tenant?

Yes, we do. However, we would like to have the tests run in the build infrastructure where there is no external cloud access available.

Would you be interested in a set of tests that do not consume resources?

Yes, that would be perfect.

from oci-python-sdk.

arthall avatar arthall commented on August 13, 2024

I've made some progress on this ticket and expect to get the changes in with the next release. The tests that require a config file will now be skipped instead of failing.

from oci-python-sdk.

arthall avatar arthall commented on August 13, 2024

The latest release, 2.2.2, should now skip tests which require a configuration file. The tests which do not consume resources will continue to run. @glaubitz please let me know if this meets your needs.

from oci-python-sdk.

arthall avatar arthall commented on August 13, 2024

@glaubitz, I'm closing this issue now. Please re-open it if the latest releases don't meet your needs.

from oci-python-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.