Coder Social home page Coder Social logo

Acceptance Testing about terraform-provider-ns1 HOT 7 OPEN

oogali avatar oogali commented on August 16, 2024
Acceptance Testing

from terraform-provider-ns1.

Comments (7)

Zach-Johnson avatar Zach-Johnson commented on August 16, 2024 1

Yes, the acceptance tests are currently failing, I believe due to some API changes that were not reflected in this provider.
The exception may be Pulsar jobs - that may be due to lack of feature enablement on the account you are using to run the acceptance tests.
I'm working on getting fixes for this prioritized internally, thanks for raising this.

from terraform-provider-ns1.

zahiar avatar zahiar commented on August 16, 2024

I have the same issue, for me the following resources having failing acceptance tests:

  • DNS SEC
  • API Key
  • Application
  • Pulsar Job
  • Record
  • Team
  • User
  • Zone
  • NotifyList - though I have a fix for this one, pull request has been raised: #214

from terraform-provider-ns1.

zahiar avatar zahiar commented on August 16, 2024

@Zach-Johnson Would it be possible to also have these acceptance tests run automatically when a pull request is opened? Similar to how the current test-pr workflow that runs unit tests, that could be expanded to run acceptance tests as well.

from terraform-provider-ns1.

Zach-Johnson avatar Zach-Johnson commented on August 16, 2024

@zahiar yeah this is definitely doable, we just don't have a lot of bandwidth for improvements on this provider right now.

from terraform-provider-ns1.

eravin-ns1 avatar eravin-ns1 commented on August 16, 2024

We fixed most of the acceptance tests in v1.13.0, which was released today. The remaining test failures are actual bugs like issue 228 and we hope to fix them soon.

from terraform-provider-ns1.

eravin-ns1 avatar eravin-ns1 commented on August 16, 2024

Note that some of the tests require having an account enabled for Pulsar, specific dedicated networks, or other paid features. I'm thinking we could adjust the names of the tests to flag the ones not likely to succeed for the "average" end user.

from terraform-provider-ns1.

zahiar avatar zahiar commented on August 16, 2024

@eravin-ns1 Thanks 🙏

One option could be to hide tests that rely on paid features behind a flag. So by default all free tests are run, and if you pass in a flag, then all free & paid tests are run. Just a thought to make it easier, given that most users won't have those paid features on their accounts.

from terraform-provider-ns1.

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.