Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Conversation

cristiancavalli
Copy link
Contributor

@cristiancavalli cristiancavalli commented Aug 25, 2016

Add a e2e test using the manual interface. Add delete/get API
interfaces as extensions of the auth client for presence checking
of transmitted errors. Set e2e fixture to run after integration
and unit suite.

Notes:
The e2e fixture is running extraordinarily slowly but that is
because of the 120000ms timeouts which must take place between
remote deletes/creates and reads.

@cristiancavalli cristiancavalli self-assigned this Aug 25, 2016
@cristiancavalli cristiancavalli force-pushed the dev-feature/e2e-server-fixtures branch 2 times, most recently from 155d028 to d764bf7 Compare August 25, 2016 05:57
@coveralls
Copy link

coveralls commented Aug 25, 2016

Coverage Status

Changes Unknown when pulling d764bf7 on cristiancavalli:dev-feature/e2e-server-fixtures into * on GoogleCloudPlatform:master*.

@coveralls
Copy link

coveralls commented Aug 25, 2016

Coverage Status

Changes Unknown when pulling d764bf7 on cristiancavalli:dev-feature/e2e-server-fixtures into * on GoogleCloudPlatform:master*.

@coveralls
Copy link

coveralls commented Aug 25, 2016

Coverage Status

Changes Unknown when pulling d764bf7 on cristiancavalli:dev-feature/e2e-server-fixtures into * on GoogleCloudPlatform:master*.

@coveralls
Copy link

coveralls commented Aug 25, 2016

Coverage Status

Changes Unknown when pulling d764bf7 on cristiancavalli:dev-feature/e2e-server-fixtures into * on GoogleCloudPlatform:master*.

Add a e2e test using the manual interface. Add delete/get API
interfaces as extensions of the auth client for presence checking
of transmitted errors. Set e2e fixture to run after integration
and unit suite.

Notes:
The e2e fixture is running extraordinarily slowly but that is
because of the 120000ms timeouts which must take place between
remote deletes/creates and reads.
@cristiancavalli
Copy link
Contributor Author

@GoogleCloudPlatform/node-team PTAL

t.assert(!isEmpty(groups), 'Groups should not be empty');
t.end();
});
}, 1200);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move the constant to a var at the top of the file for easy timeout tweaking in the future.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 1.2seconds long enough for the errors service to be able to reflect updates back to us?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ofrobots I can't find the docs indicating the SLA, 1.2 passes my integration tests consistently

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should use at least 20 seconds as the delay to make sure we don't have flaky test failures.

Also, I think this test might need to be updated to be a mocha test now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DominicKramer
Copy link
Contributor

This PR has been closed since its contents have been incorporated into the google-cloud-node/error-reporting repository via PR #2264.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
5 participants