Skip to content

Conversation

@gaurav22gupta
Copy link
Contributor

Changed the SDK for python to accept generating command type as 'events' instead of 'eventing', for consistency with splunk core.

…eventing', whereas it should have been 'type=events', which is in consistency with splunk code.
installedApps = []

def assertEventuallyTrue(self, predicate, timeout=10, pause_time=0.5,
def assertEventuallyTrue(self, predicate, timeout=30, pause_time=0.5,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we changing the default timeout for all tests?

Copy link
Contributor

Choose a reason for hiding this comment

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

@itay this is change in the develop branch.

| streams | streaming=True[,local=[True|False]] | type='streaming'[,distributed=[true|false] |
+----------+-------------------------------------+--------------------------------------------+
| events | retainsevents=True, streaming=False | type='eventing' |
| events | retainsevents=True, streaming=False | type='events' |
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this just a typo on our end?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope..not a type..we were actually expecting 'eventing', whereas in splunk code we were expecting 'events'.

- SPLUNK_VERSION=6.2.6-sdk
- SPLUNK_VERSION=6.3.1-sdk
- SPLUNK_VERSION=6.4-sdk
- SPLUNK_VERSION=6.5-sdk
Copy link
Contributor

Choose a reason for hiding this comment

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

@shakeelmohamed do we have these versions prepped on the Docker side?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah but they shouldn't be in this PR since they're on develop. @gaurav22gupta can you re-target this PR to the develop branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@itay @shakeelmohamed Done. Changed the base to develop.

@gaurav22gupta gaurav22gupta changed the base branch from master to develop June 12, 2017 20:48
@itay
Copy link
Contributor

itay commented Jun 12, 2017

@gaurav22gupta looks like you need to update some tests: https://travis-ci.org/splunk/splunk-sdk-python/jobs/242162504

Look at the bottom to see which ones failed.

@gaurav22gupta
Copy link
Contributor Author

@itay @shakeelmohamed At present, failing test cases are unrelated to this PR. Previously failing test cases have passed now.

@itay itay self-assigned this Jun 13, 2017
@itay
Copy link
Contributor

itay commented Jun 13, 2017

@shakeelmohamed this LGTM - you can merge once you're ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants