Closed dirkmoors closed 8 years ago
@dirkmoors try dropping kong_test keyspace
and run make install test
before test
If this was a 0.4.2 keyspace, did you run the python migration script, and the did the 0.5.0 migrations run too?
I started from a clean Kong and Cassandra Docker image (without any volumes) so I suppose it should work out of the box, without manual migrations?
Yes, once you checkout the repo you would need to run few commands to setup your test environment
$ git clone https://github.com/Mashape/kong
$ cd kong/
# Build and install Kong globally using Luarocks, overriding the version previously installed
$ [sudo] make install
# Install all development dependencies and create your environment configuration files
$ make dev
I think this is related to #581
Hello,
While testing the new Kong release (https://github.com/Mashape/kong/releases/tag/0.5.0) I ran into a strange problem that I could trace back to hmac-auth.
The symptoms: I have a test-suite in place for a python client I wrote (https://pypi.python.org/pypi/python-kong) and I always test it against the latest Kong releases. When I disable the hmac-auth plugin, my test-suite finishes in +- 7 seconds. With the hmac-auth plugin enabled, the same test-suite takes +- 75 seconds!
While diagnosing the logs, I noticed the following error that kept occuring while running the tests:
Notice the statement unconfigured columnfamily hmacauth_credentials.
I have to add that I do not test anything hmac-related, since this plugin was released after I'd implemented the test-suite.