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

Update unit tests #233

Merged
merged 9 commits into from
Mar 26, 2021
Merged

Commits on Mar 24, 2021

  1. [Tests] A few easy fixes for unit tests

    ~25 failures still. I need to update the project to just ignore the
    maps directory completely for tests instead of just ignoring one test.
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    ed6fc66 View commit details
    Browse the repository at this point in the history
  2. [Tests] exclude maps from jest

    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    79c20a8 View commit details
    Browse the repository at this point in the history
  3. [Tests] More easy fixes for unit tests

    8 failures still. Committing here because the remaining but require
    an agreement of next steps.
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    7d42286 View commit details
    Browse the repository at this point in the history
  4. [Tests] Update compressed files for unit tests

    Files were uncompressed, renamed, and then compressed again for unit
    tests.
    
    Signed-off-by: Kawika Avilla <avillk@amazon.com>
    Kawika Avilla authored and kavilla committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    4f390a6 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. [Tests] Rename cli_plugin/kibana.test.js to opensearch_dashboards.tes…

    …t.js
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    c314dbd View commit details
    Browse the repository at this point in the history
  2. [Tests] update zip files in cli_plugin

    Updated references to OpenSearch and OpenSearch Dashboards for
    the zipped files with the cli_plugin for the tests to pass.
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    8c44e54 View commit details
    Browse the repository at this point in the history
  3. [Tests] remove optimize/image tests

    This test checks if image exists but this image was removed in the
    renaming process at this commit: 3ecadd0.
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    e3a9612 View commit details
    Browse the repository at this point in the history
  4. [Tests] update plugins_discovery test

    Updating a test that discovers plugins to have the correct amount.
    The original tests removed the creation of the mock related to x-pack.
    
    Update the test to get the correct values while running tests.
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    b93ef34 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. [Tests] update TODOs with [RENAMEME] and ref to .com

    PR comment to include RENAMEME for easy grepping and update a ref
    to opensearch.com to opensearch.co so that it is easier to grep while
    renaming. Then had to regenerate the snapshots.
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    kavilla committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    4fcc7bb View commit details
    Browse the repository at this point in the history