Giter Club home page Giter Club logo

Comments (3)

Vikas-kum avatar Vikas-kum commented on June 5, 2024

I dont think we should teardown. Data shouldn't change helps me in trusting that there was no regression.

from sagemaker-debugger.

jarednielsen avatar jarednielsen commented on June 5, 2024

Agreed that the data shouldn't change. The data should come from the test though, that's the point of a "unit" test.

from sagemaker-debugger.

Vikas-kum avatar Vikas-kum commented on June 5, 2024

Agreed that the data shouldn't change. The data should come from the test though, that's the point of a "unit" test.

If we are creating and deleting data in s3, then there is chance that we would mess with the data.
This is not unit test. If we want unit test, we should mock s3 client and not hit s3.
Hope this makes it clear.
Also, if this is part of s3, then people who dont have s3 won't be able run the unit test. May be we should move all test which hits s3 as part of CI only rather than unit test(use skipif test annotation for test which are trying to access s3). This way the tests will not fail and people doesn't need to have s3 account or access.
If CI s3 test breaks on existing data, then we want some eyes on it, rather than making it easy to modify the s3 data.

from sagemaker-debugger.

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.