Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout on appveyor #15

Closed
unional opened this issue Jun 5, 2016 · 1 comment
Closed

Timeout on appveyor #15

unional opened this issue Jun 5, 2016 · 1 comment

Comments

@unional
Copy link

unional commented Jun 5, 2016

In this code, when run on appveyor, "starting test" is printed but "ready to go" and "inside then" is never printed. Error is timeout. Event if I set timeout value to big number (30000) it still timeout.

It is running fine in travis.

describe(`app git tests`, () => {
  it.only('should use current and parent dir as repo name and org when it is not a git repo', () => {
    console.log('starting test');
    let generator;
    return helpers.run(path.join(__dirname, '../generators/app'))
      .withOptions({
        skipConfiguring: true,
        skipDefault: true,
        skipWriting: true,
        skipInstall: true,
        skipGit: true
      })
      .on('ready', (gen) => {
        console.log('ready to go');
        generator = gen;
      })
      .toPromise()
      .then((dir) => {
        console.log('inside then', dir);
        ...
      });
  });

Here is the code:
https://github.com/typings/generator-typings/blob/626482658015871764f6a0eeac5e75dbdc8d6973/test/git.spec.js

Here is test result:
https://ci.appveyor.com/project/unional/generator-typings/build/1.0.11

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2020

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale label Feb 5, 2020
mshima referenced this issue in mshima/yeoman-test Jul 14, 2020
* Add assert.noObjectContent() and assert.noJsonFileContent()

Fix #15

* Add assert.noObjectContent() and assert.noJsonFileContent() to README.md

Fix #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants